Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Agenta Configs API

Fetch and deploy versioned prompt configurations.

Agenta Configs API is one of 7 APIs that Agenta publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Configs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 8 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against 2 base URLs: https://cloud.agenta.ai/api, https://eu.cloud.agenta.ai/api.

2 operations 2 paths 8 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://cloud.agenta.ai/api
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Agenta Configs API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Agenta API key sent in the Authorization header. Generate keys from the Agenta web app under Settings API keys. The value is passed as Authorization: ApiKey (B…

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Configs 2

Fetch and deploy versioned prompt configurations.

POST
/applications/revisions/deploy
Deploy an application revision to an environment.
deployApplicationRevision body → 200401
POST
/variants/configs/fetch
Fetch a prompt configuration.
fetchConfig body → 200401404

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Revision (7 properties), ConfigResponse (5 properties), Lifecycle (4 properties), Reference (3 properties). Each schema is shown below with its type and property counts.

DeployRevisionRequest
object
1 property 1 required
PromptConfig
object
A prompt template plus model and inference parameters.
1 property
ConfigFetchRequest
object
Reference identifying which configuration to resolve. Provide either an application + environment reference or a direct variant reference.
3 properties
Reference
object
3 properties
Lifecycle
object
Audit metadata attached to most Agenta resources.
4 properties
Error
object
1 property
Revision
object
7 properties
ConfigResponse
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

agenta-configs-api-openapi.yml Raw ↑

Other APIs Agenta publishes across the network.

Agenta Applications API
Agenta Evaluations API
Agenta Evaluators API
Agenta OpenTelemetry API
Agenta Testsets API
Agenta Traces API