{"openapi":"3.1.0","info":{"title":"Yext (BYOK) API","version":"0.1.0","description":"Yext (BYOK) lets an AI assistant read your own Yext data through the Yext API with a key you supply (Yext app API key). Read-only: 11 tools (get_account, list_entities, get_entity, list_folders, list_publishers, list_listings, list_entity_listings, get_listing_accuracy, list_optimization_tasks, get_analytics_catalog, list_categories). The BYOK key travels with each request, is used for that one...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-yext.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-yext/docs"},"termsOfService":"https://connectorbay.com/byok-yext/terms"},"servers":[{"url":"https://byok-yext.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-yext/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_account":{"post":{"operationId":"get_account","summary":"Show the Yext account the key belongs to: name, id, number of locations and sub-accounts. Use for \"How many locations do","description":"Show the Yext account the key belongs to: name, id, number of locations and sub-accounts. Use for \"How many locations does my Yext account have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"}},"title":"get_accountArguments","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_entities":{"post":{"operationId":"list_entities","summary":"List Knowledge Graph entities (business locations, restaurants, events and similar) with the fields you ask for, by defa","description":"List Knowledge Graph entities (business locations, restaurants, events and similar) with the fields you ask for, by default name, address, phone, website and hours. Filter by entity type. Use for \"List my business locations with their address and phone\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"entity_types":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated entity types to return, for example location,restaurant.","title":"Entity Types"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"name,address,mainPhone,websiteUrl,hours,categoryIds","description":"Comma-separated field names to return (dot notation allowed, for example address.city).","title":"Fields"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 50).","title":"Limit"},"offset":{"anyOf":[{"maximum":9900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, to page through results (cannot be combined with page_token).","title":"Offset"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"The pageToken or nextPageToken value from a previous answer, to get the next page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Yext entity filter as a JSON string, for example {\"address.region\":{\"$eq\":\"CA\"}}.","title":"Filter"}},"title":"list_entitiesArguments","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_entity":{"post":{"operationId":"get_entity","summary":"Get one entity (location) by its Yext entity id with the fields you ask for. Use for \"Show the hours and phone number of","description":"Get one entity (location) by its Yext entity id with the fields you ask for. Use for \"Show the hours and phone number of entity loc-001\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"entity_id":{"description":"The Yext entity id (the meta.id value from list_entities).","maxLength":100,"title":"Entity Id","type":"string"},"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"name,address,mainPhone,websiteUrl,hours","description":"Comma-separated field names to return (dot notation allowed).","title":"Fields"}},"required":["entity_id"],"title":"get_entityArguments","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_folders":{"post":{"operationId":"list_folders","summary":"List the location folders used to group entities, with parent folder ids. Use for \"How are my Yext locations organised i","description":"List the location folders used to group entities, with parent folder ids. Use for \"How are my Yext locations organised into folders\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 1000).","title":"Limit"},"offset":{"anyOf":[{"maximum":9900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, to page through results (cannot be combined with page_token).","title":"Offset"}},"title":"list_foldersArguments","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_publishers":{"post":{"operationId":"list_publishers","summary":"List the publishers (Google, Apple, Bing, Facebook, directories and others) your account can sync listings to, with supp","description":"List the publishers (Google, Apple, Bing, Facebook, directories and others) your account can sync listings to, with supported countries, entity types and typical update speed. Use for \"Which publishers can my Yext listings sync to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"subset":{"anyOf":[{"enum":["ALL","RELEVANT_ONLY"],"type":"string"},{"type":"null"}],"default":"RELEVANT_ONLY","description":"ALL for every publisher, RELEVANT_ONLY for those available to your account.","title":"Subset"}},"title":"list_publishersArguments","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_listings":{"post":{"operationId":"list_listings","summary":"List location listings across publishers with status (live, waiting, unavailable), the listing URL and any warnings. Fil","description":"List location listings across publishers with status (live, waiting, unavailable), the listing URL and any warnings. Filter by location, publisher or status. Use for \"Which of my listings are not live yet\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"location_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated location ids to include; defaults to all locations with a Listings subscription.","title":"Location Ids"},"publisher_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated publisher ids, for example GOOGLEMYBUSINESS,FACEBOOK.","title":"Publisher Ids"},"statuses":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated statuses to keep, for example WAITING_ON_CUSTOMER,UNAVAILABLE.","title":"Statuses"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":9900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, to page through results (cannot be combined with page_token).","title":"Offset"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"The pageToken or nextPageToken value from a previous answer, to get the next page.","title":"Page Token"}},"title":"list_listingsArguments","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_entity_listings":{"post":{"operationId":"list_entity_listings","summary":"List listings for entities (the newer Knowledge Graph model) with status, publisher and URL. Filter by entity ids, publi","description":"List listings for entities (the newer Knowledge Graph model) with status, publisher and URL. Filter by entity ids, publishers or statuses. Use for \"What is the listing status of entity loc-001 on each publisher\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"entity_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated entity ids to include.","title":"Entity Ids"},"publisher_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated publisher ids.","title":"Publisher Ids"},"statuses":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated listing statuses to keep.","title":"Statuses"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":9900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, to page through results (cannot be combined with page_token).","title":"Offset"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"The pageToken or nextPageToken value from a previous answer, to get the next page.","title":"Page Token"}},"title":"list_entity_listingsArguments","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_listing_accuracy":{"post":{"operationId":"get_listing_accuracy","summary":"Compare an entity's Yext data with what publishers show, field by field (name, address, phone), with a status for each f","description":"Compare an entity's Yext data with what publishers show, field by field (name, address, phone), with a status for each field. Use for \"Do publishers show the right address for loc-001\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"entity_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Yext entity id to check.","title":"Entity Id"},"publisher_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated publisher ids; defaults to live publishers that support accuracy checks.","title":"Publisher Ids"}},"title":"get_listing_accuracyArguments","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_optimization_tasks":{"post":{"operationId":"list_optimization_tasks","summary":"List listing optimization tasks (profile completeness suggestions) with how many locations are eligible and how many hav","description":"List listing optimization tasks (profile completeness suggestions) with how many locations are eligible and how many have completed each. Use for \"What optimization tasks are pending for my locations\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"location_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated location ids to measure against.","title":"Location Ids"}},"title":"list_optimization_tasksArguments","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_analytics_catalog":{"post":{"operationId":"get_analytics_catalog","summary":"List the analytics metrics that Yext can report on with the date up to which each metric's data is complete. Use for \"Wh","description":"List the analytics metrics that Yext can report on with the date up to which each metric's data is complete. Use for \"Which Yext analytics metrics are available and how fresh are they\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"}},"title":"get_analytics_catalogArguments","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_categories":{"post":{"operationId":"list_categories","summary":"List the business categories that can be assigned to entities, optionally for one language, country or entity type. Use ","description":"List the business categories that can be assigned to entities, optionally for one language, country or entity type. Use for \"Which Yext categories exist for restaurants in the US\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version_date":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":"20260901","description":"API version date in YYYYMMDD format that Yext requires on every call; leave the default unless told otherwise.","title":"Api Version Date"},"language":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 639-1 language code, for example en.","title":"Language"},"country":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-2 country code, for example US.","title":"Country"},"entity_type":{"anyOf":[{"enum":["atm","event","healthcareFacility","healthcareProfessional","location","restaurant"],"type":"string"},{"type":"null"}],"default":null,"description":"Only categories for this entity type.","title":"Entity Type"}},"title":"list_categoriesArguments","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}}}}