{"openapi":"3.1.0","info":{"title":"Vercel Feature Flags (BYOK) API","version":"0.1.0","description":"Vercel Feature Flags (BYOK) lets an AI assistant read your own Vercel Feature Flags data through the Vercel Feature Flags API with a key you supply (access token). Read-only: 8 tools (list_project_flags, get_flag, list_flag_versions, list_segments, get_segment, get_flag_settings, list_team_flags, get_deployment_flags). The BYOK key travels with each request, is used for that one call only and is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-vercel-feature-flags.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-vercel-feature-flags/docs"},"termsOfService":"https://connectorbay.com/byok-vercel-feature-flags/terms"},"servers":[{"url":"https://byok-vercel-feature-flags.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-vercel-feature-flags/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/list_project_flags":{"post":{"operationId":"list_project_flags","summary":"List the feature flags of a Vercel project with slug, kind, state, tags, variants, revision and dates. Use for \"Which fe","description":"List the feature flags of a Vercel project with slug, kind, state, tags, variants, revision and dates. Use for \"Which feature flags does my Vercel project have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"},"state":{"anyOf":[{"enum":["active","archived"],"type":"string"},{"type":"null"}],"default":null,"description":"Only flags in this state.","title":"State"},"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only flags whose slug or description contains this text.","title":"Search"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from pagination.next of the previous answer.","title":"Cursor"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"}},"required":["project_id_or_name"],"title":"list_project_flagsArguments","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_flag":{"post":{"operationId":"get_flag","summary":"Get one feature flag: kind, state, variants, per-environment rules, tags, maintainers and revision. Use for \"How is flag","description":"Get one feature flag: kind, state, variants, per-environment rules, tags, maintainers and revision. Use for \"How is flag new-checkout configured\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"flag_id_or_slug":{"description":"Feature flag ID or slug, as returned by list_project_flags.","maxLength":100,"title":"Flag Id Or Slug","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"}},"required":["project_id_or_name","flag_id_or_slug"],"title":"get_flagArguments","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_flag_versions":{"post":{"operationId":"list_flag_versions","summary":"List the change history of a flag: revision, changed environments, message, author and time. Use for \"Who changed flag n","description":"List the change history of a flag: revision, changed environments, message, author and time. Use for \"Who changed flag new-checkout and when\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"flag_id_or_slug":{"description":"Feature flag ID or slug, as returned by list_project_flags.","maxLength":100,"title":"Flag Id Or Slug","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"},"environment":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only versions that changed this environment.","title":"Environment"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from pagination.next of the previous answer.","title":"Cursor"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"}},"required":["project_id_or_name","flag_id_or_slug"],"title":"list_flag_versionsArguments","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_segments":{"post":{"operationId":"list_segments","summary":"List the targeting segments of a project with label, slug, description and which flags use them. Use for \"Which user seg","description":"List the targeting segments of a project with label, slug, description and which flags use them. Use for \"Which user segments exist for my flags\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"}},"required":["project_id_or_name"],"title":"list_segmentsArguments","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_segment":{"post":{"operationId":"get_segment","summary":"Get one segment with its include, exclude and rules definition. Use for \"Who is in segment beta-users\".","description":"Get one segment with its include, exclude and rules definition. Use for \"Who is in segment beta-users\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"segment_id_or_slug":{"description":"Segment ID or slug, as returned by list_segments.","maxLength":100,"title":"Segment Id Or Slug","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"}},"required":["project_id_or_name","segment_id_or_slug"],"title":"get_segmentArguments","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_flag_settings":{"post":{"operationId":"get_flag_settings","summary":"Get the project's feature flag settings: whether flags are enabled, environments, entities and flag counts. Use for \"Are","description":"Get the project's feature flag settings: whether flags are enabled, environments, entities and flag counts. Use for \"Are feature flags enabled for my project\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id_or_name":{"description":"Vercel project ID (prj_...) or name.","maxLength":100,"title":"Project Id Or Name","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"}},"required":["project_id_or_name"],"title":"get_flag_settingsArguments","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_team_flags":{"post":{"operationId":"list_team_flags","summary":"List feature flags across a team with slug, kind, state, project and dates. Use for \"Which feature flags exist across my","description":"List feature flags across a team with slug, kind, state, project and dates. Use for \"Which feature flags exist across my Vercel team\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"team_id":{"description":"Team ID (starts with 'team_').","maxLength":64,"title":"Team Id","type":"string"},"state":{"anyOf":[{"enum":["active","archived"],"type":"string"},{"type":"null"}],"default":null,"description":"Only flags in this state.","title":"State"},"kind":{"anyOf":[{"enum":["boolean","json","number","string"],"type":"string"},{"type":"null"}],"default":null,"description":"Only flags of this kind.","title":"Kind"},"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only flags whose slug or description contains this text.","title":"Search"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from pagination.next of the previous answer.","title":"Cursor"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"}},"required":["team_id"],"title":"list_team_flagsArguments","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_deployment_flags":{"post":{"operationId":"get_deployment_flags","summary":"Get the feature flag status of a deployment: flag count and response status. Use for \"Did the deployment pick up the fea","description":"Get the feature flag status of a deployment: flag count and response status. Use for \"Did the deployment pick up the feature flags\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"deployment_id":{"description":"Deployment ID (dpl_...).","maxLength":100,"title":"Deployment Id","type":"string"},"team_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Team ID (starts with 'team_') to act on behalf of; omit to use the personal account.","title":"Team Id"}},"required":["deployment_id"],"title":"get_deployment_flagsArguments","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}}}}