{"openapi":"3.1.0","info":{"title":"Exist (BYOK) API","version":"0.1.0","description":"Exist (BYOK) lets an AI assistant read your own Exist data through the Exist API with a key you supply (Exist read-only token). Read-only: 8 tools (get_profile, list_attribute_templates, list_attributes, get_attributes_with_values, get_attribute_values, list_averages, list_correlations, list_insights). The BYOK key travels with each request, is used for that one call only and is never stored,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-existio.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-existio/docs"},"termsOfService":"https://connectorbay.com/byok-existio/terms"},"servers":[{"url":"https://byok-existio.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-existio/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_profile":{"post":{"operationId":"get_profile","summary":"Show the Exist account the token belongs to: username, name, time zone, local time and unit preferences. Use for \"Which ","description":"Show the Exist account the token belongs to: username, name, time zone, local time and unit preferences. Use for \"Which Exist account is my token connected to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_profileArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_attribute_templates":{"post":{"operationId":"list_attribute_templates","summary":"List the attribute types Exist supports (steps, sleep, mood ...) with group and value type. Use for \"What kinds of data ","description":"List the attribute types Exist supports (steps, sleep, mood ...) with group and value type. Use for \"What kinds of data can Exist track\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"groups":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute groups to filter by, for example 'activity,sleep'.","title":"Groups"},"include_low_priority":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include low-priority attributes.","title":"Include Low Priority"}},"title":"list_attribute_templatesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_attributes":{"post":{"operationId":"list_attributes","summary":"List the user's attributes without values: name, group, source service and whether it is manual or active. Use for \"Whic","description":"List the user's attributes without values: name, group, source service and whether it is manual or active. Use for \"Which attributes does my Exist account track\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"groups":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute groups to filter by, for example 'activity,sleep'.","title":"Groups"},"attributes":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute names to filter by, for example 'steps,sleep'.","title":"Attributes"},"include_inactive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include inactive attributes.","title":"Include Inactive"}},"title":"list_attributesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_attributes_with_values":{"post":{"operationId":"get_attributes_with_values","summary":"List attributes together with their most recent daily values (up to 31 days). Use for \"What were my steps and sleep over","description":"List attributes together with their most recent daily values (up to 31 days). Use for \"What were my steps and sleep over the last 7 days in Exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"groups":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute groups to filter by, for example 'activity,sleep'.","title":"Groups"},"attributes":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute names to filter by, for example 'steps,sleep'.","title":"Attributes"},"days":{"anyOf":[{"maximum":31,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"How many days of values to include (1 to 31, default 1).","title":"Days"},"date_max":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Most recent date to include, YYYY-MM-DD.","title":"Date Max"}},"title":"get_attributes_with_valuesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_attribute_values":{"post":{"operationId":"get_attribute_values","summary":"Get the history of daily values of one attribute, newest first, with paging. Use for \"Show my full step history from Exi","description":"Get the history of daily values of one attribute, newest first, with paging. Use for \"Show my full step history from Exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"attribute":{"description":"Attribute name, for example 'steps' or 'sleep'.","maxLength":100,"title":"Attribute","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"date_min":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Oldest date to include, YYYY-MM-DD.","title":"Date Min"},"date_max":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Newest date to include, YYYY-MM-DD.","title":"Date Max"}},"required":["attribute"],"title":"get_attribute_valuesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_averages":{"post":{"operationId":"list_averages","summary":"Get weekly average values per attribute (overall and per weekday); with include_historical and one attribute, its histor","description":"Get weekly average values per attribute (overall and per weekday); with include_historical and one attribute, its history. Use for \"What is my average daily step count by weekday in Exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"groups":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute groups to filter by, for example 'activity,sleep'.","title":"Groups"},"attributes":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated attribute names to filter by, for example 'steps,sleep'.","title":"Attributes"},"include_historical":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to also return historical weekly averages (use with one attribute).","title":"Include Historical"},"date_min":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Oldest date, YYYY-MM-DD.","title":"Date Min"},"date_max":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Newest date, YYYY-MM-DD.","title":"Date Max"}},"title":"list_averagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_correlations":{"post":{"operationId":"list_correlations","summary":"List correlations Exist found between attributes in the last week, in plain-language form with strength and confidence s","description":"List correlations Exist found between attributes in the last week, in plain-language form with strength and confidence stars. Use for \"What does Exist say affects my sleep\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"attribute":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only correlations involving this attribute name.","title":"Attribute"},"strong":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only strong relationships.","title":"Strong"},"confident":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only five-star-confidence correlations.","title":"Confident"}},"title":"list_correlationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_insights":{"post":{"operationId":"list_insights","summary":"List insights Exist generated about the user's data, with type, target date and text. Use for \"What insights does Exist ","description":"List insights Exist generated about the user's data, with type, target date and text. Use for \"What insights does Exist have for me this week\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page index, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (up to 100).","title":"Limit"},"date_min":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Oldest date, YYYY-MM-DD.","title":"Date Min"},"date_max":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Newest date, YYYY-MM-DD.","title":"Date Max"},"priority":{"anyOf":[{"maximum":4,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Insight priority: 1 = today up to 4 = last month.","title":"Priority"}},"title":"list_insightsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}