Agent Versioning - Drafts
Test call with draft config
Changed onDeprecated. Test-calls are exempt from the v1 write-block and remain functional. Migrate to POST /agent/{id}/branches/{branchId}/test-call with includeDraft: true. Will be removed at the sunset date.
Initiate a test call using the draft's resolved configuration.
post/agent/{id}/drafts/{draftId}/test-call
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/drafts/{draftId}/test-call
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
draftIdstring required
The draft ID
Request body
Response
Test call initiated
Example response
{
"status": true
}Changes
- breaking
added the pattern
^[a-f\d]{24}$to thepathrequest parameterid - info
endpoint deprecated
- breaking
- info
endpoint reactivated
- info