{"openapi":"3.1.0","info":{"title":"Agenta (BYOK) API","version":"0.1.0","description":"Agenta (BYOK) lets an AI assistant read your own Agenta data through the Agenta API with a key you supply (Agenta project API key). Read-only: 8 tools (list_projects, list_applications, get_application, list_testsets, get_testset, list_evaluators, get_evaluator, list_application_templates). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-agenta.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-agenta/docs"},"termsOfService":"https://connectorbay.com/byok-agenta/terms"},"servers":[{"url":"https://byok-agenta.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-agenta/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_projects":{"post":{"operationId":"list_projects","summary":"List the Agenta projects your key can see, with organization, workspace, project name and your role. Use for \"Which Agen","description":"List the Agenta projects your key can see, with organization, workspace, project name and your role. Use for \"Which Agenta projects do I have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"}},"required":["region"],"title":"list_projectsArguments","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_applications":{"post":{"operationId":"list_applications","summary":"List the prompt applications of the project with id, slug, name, description and timestamps; optionally filter by name. ","description":"List the prompt applications of the project with id, slug, name, description and timestamps; optionally filter by name. Use for \"Which applications do I have in Agenta\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose name matches this text.","title":"Name"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"}},"required":["region"],"title":"list_applicationsArguments","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_application":{"post":{"operationId":"get_application","summary":"Get one application by id: slug, name, description and timestamps. Use for \"Tell me about Agenta application X\".","description":"Get one application by id: slug, name, description and timestamps. Use for \"Tell me about Agenta application X\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"application_id":{"description":"Application id, from list_applications.","maxLength":100,"title":"Application Id","type":"string"}},"required":["region","application_id"],"title":"get_applicationArguments","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_testsets":{"post":{"operationId":"list_testsets","summary":"List the test sets of the project (artifact rows without the test cases) with id, slug, name and timestamps; optionally ","description":"List the test sets of the project (artifact rows without the test cases) with id, slug, name and timestamps; optionally filter by name. Use for \"What test sets are in my Agenta project\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose name matches this text.","title":"Name"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"}},"required":["region"],"title":"list_testsetsArguments","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_testset":{"post":{"operationId":"get_testset","summary":"Get one test set by id: slug, name, description and timestamps. Use for \"Tell me about Agenta test set X\".","description":"Get one test set by id: slug, name, description and timestamps. Use for \"Tell me about Agenta test set X\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"testset_id":{"description":"Test set id, from list_testsets.","maxLength":100,"title":"Testset Id","type":"string"}},"required":["region","testset_id"],"title":"get_testsetArguments","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_evaluators":{"post":{"operationId":"list_evaluators","summary":"List the evaluators of the project with id, slug, name, description and timestamps; optionally filter by name. Use for \"","description":"List the evaluators of the project with id, slug, name, description and timestamps; optionally filter by name. Use for \"Which evaluators are set up in Agenta\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose name matches this text.","title":"Name"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"}},"required":["region"],"title":"list_evaluatorsArguments","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_evaluator":{"post":{"operationId":"get_evaluator","summary":"Get one evaluator by id: slug, name, description and timestamps. Use for \"Tell me about Agenta evaluator X\".","description":"Get one evaluator by id: slug, name, description and timestamps. Use for \"Tell me about Agenta evaluator X\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"},"evaluator_id":{"description":"Evaluator id, from list_evaluators.","maxLength":100,"title":"Evaluator Id","type":"string"}},"required":["region","evaluator_id"],"title":"get_evaluatorArguments","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_application_templates":{"post":{"operationId":"list_application_templates","summary":"List the application templates in the Agenta catalog (key, name, description, categories) used to create new application","description":"List the application templates in the Agenta catalog (key, name, description, categories) used to create new applications. Use for \"Which application templates does Agenta offer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Agenta Cloud region of your account: us (us.cloud.agenta.ai) or eu (eu.cloud.agenta.ai).","enum":["us","eu"],"title":"Region","type":"string"}},"required":["region"],"title":"list_application_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}}}}