Rate Limits
This endpoint is rate limited based on your organization tier:| Organization Tier | Rate Limit (requests/minute) |
|---|---|
| Starter | 10 |
| Professional | 20 |
| Enterprise | 40 |
Handling Timeouts
If the Agent Run takes longer than the request timeout period to complete, this endpoint will return the Agent Run in arunning status. In such cases:
- The response will indicate the Run is still in progress
- You can use the Get Agent Run endpoint to fetch the results later by providing the same
run_id
Tips to Avoid Timeouts
To reduce the likelihood of timeouts when using this endpoint:- Use smaller inputs - Upload inputs with minimal content and fewer prompts
- Disable “Data Analysis” - If your Agent has Data Analysis enabled, consider disabling it for faster processing
- Batch your requests - For large volumes of data, consider using the non-waiting version (Add Agent Run) and poll for results
Authorizations
Bearer authentication header of the form Bearer <token>. The <token> represents your API key, which must be acquired from the Kolena platform.
Path Parameters
Query Parameters
How long to wait, in seconds, for the results from this Run.
1 <= x <= 120Body
Response
Successful Response
The ID of the Agent being run.
The ID of this Agent Run.
An optional user-defined ID attached to this Run.
When this Run was created, formatted as an ISO 8601 timestamp (e.g. 2025-10-08T20:14:29.472247+00:00)
When this Run was last updated, formatted as an ISO 8601 timestamp (e.g. 2025-10-08T20:14:29.472247+00:00)
List of filenames included in this Run.
Link to this Run on agents.kolena.com.
The order of Prompts in this Agent. When results are ready for a Prompt, it will be included in the data object.
The output data from completed Prompts, keyed on Prompt name.
Once a Prompt is completed (status success or failed), it will be included in this object. Any running prompts are omitted.
The status of this Run.
running, success, failed For organizations with credit-based billing enabled, report the total credits used for this Run. null for organizations using page-based billing.
