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 Testsets API

Manage evaluation datasets (testsets).

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

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

This API exposes 4 operations across 4 paths, and defines 6 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.

4 operations 4 paths 6 schemas 1 GET3 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 Testsets 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 4

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

Testsets 4

Manage evaluation datasets (testsets).

POST
/testsets/
Create a testset.
createTestset body → 200401
POST
/testsets/query
List and filter testsets.
queryTestsets body → 200401
GET
/testsets/{testset_id}
Fetch a single testset by id.
fetchTestset 1 param → 200401404
POST
/simple/testsets/upload
Create a testset from an uploaded CSV or JSON file.
createTestsetFromFile body → 200401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Windowing (5 properties), Testset (5 properties), Lifecycle (4 properties), TestsetQueryRequest (2 properties). Each schema is shown below with its type and property counts.

Testset
object
5 properties
Lifecycle
object
Audit metadata attached to most Agenta resources.
4 properties
TestsetCreateRequest
object
1 property 1 required
TestsetQueryRequest
object
2 properties
Windowing
object
Cursor / time-window pagination controls.
5 properties
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

agenta-testsets-api-openapi.yml Raw ↑

Other APIs Agenta publishes across the network.

Agenta Applications API
Agenta Configs API
Agenta Evaluations API
Agenta Evaluators API
Agenta OpenTelemetry API
Agenta Traces API