Skip to main content
GET
/
v4
/
experiments
/
{id}
Get a single experiment
curl --request GET \
  --url https://gentrace.ai/api/v4/experiments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-04-01T00:00:00.000Z",
  "updatedAt": "2025-04-01T00:00:00.000Z",
  "name": "OpenAI o3-mini prompt",
  "pipelineId": "123e4567-e89b-12d3-a456-426614174000",
  "metadata": {
    "key": "value"
  }
}

Authorizations

Authorization
string
header
required

Enter Gentrace API key (Format: Authorization: Bearer <token>)

Path Parameters

id
string<uuid>
required

Experiment UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Successful response

id
string<uuid>
required

Experiment UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

createdAt
string
required

Creation timestamp (ISO 8601)

Example:

"2025-04-01T00:00:00.000Z"

updatedAt
string
required

Last update timestamp (ISO 8601)

Example:

"2025-04-01T00:00:00.000Z"

name
string | null
required

Friendly experiment name

Example:

"OpenAI o3-mini prompt"

pipelineId
string
required

Pipeline UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

metadata
object | null
required

Metadata

Example:
{ "key": "value" }