![]() |
VOOZH | about |
As an alternative to using Agent Observability Experiments with the Python SDK, you can use the Experiments HTTP API to create and run experiments.
Datadog highly recommends importing the Experiments Postman collection into Postman. Postman’s View documentation feature can help you better understand this API.
| Field | Type | Description |
|---|---|---|
data | Object: Data | The request body is nested within a top level data field. |
Example: Creating a dataset
{
"data": {
"type": "datasets", # request type
"attributes": {
"name": "Dataset example",
"description": "Description example"
}
}
}
| Field | Type | Description |
|---|---|---|
data | Object: Data | The request body of an experimentation API is nested within a top level data field. |
meta | Object: Page | Pagination attributes. |
Example: Retrieving datasets
{
"data": [
{
"id": "4ac5b6b2-dcdb-40a9-ab29-f98463f73b4z",
"type": "datasets",
"attributes": {
"created_at": "2025-02-19T18:53:03.157337Z",
"description": "Description example",
"name": "Dataset example",
"updated_at": "2025-02-19T18:53:03.157337Z"
}
}
],
"meta": {
"after": ""
}
}
| Field | Type | Description |
|---|---|---|
id | string | The ID of an experimentation entity. Note: Set your ID field reference at this level. |
type | string | Identifies the kind of resource an object represents. For example: experiments, datasets, etc. |
attributes | json | Contains all the resource’s data except for the ID. |
| Field | Type | Description |
|---|---|---|
after | string | The cursor to use to get the next results, if any. Provide the page[cursor] query parameter in your request to get the next results. |
Request type: projects
Request type: datasets
Request type: experiments
| |