For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Create Eval
Create an eval, the container for runs. Optionally link it to a prompt.
Create an eval, the container for runs. Optionally link it to a prompt.
post
https://statsigapi.net/console/v1/evalsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsonnamestringrequiredEval name.
Example:
support_bot_regressionsConstraints:
min length: 3max length: 100pattern: ^[a-zA-Z0-9_\-. ]*$promptIDstringPrompt name or ID this eval belongs to, if any.
Other properties1
descriptionstringResponse
application/json201· Create Eval
messagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredEval ID.
namestringrequiredEval name. Used as the identifier in routes.
descriptionstringrequiredaiConfigIDstringrequiredPrompt that created this eval, if any.
Constraints:
nullablecreatedTimenumberrequiredConstraints:
format: doublelastModifiedTimenumberrequiredConstraints:
format: double403· Forbidden. The request was valid, but the server is refusing action. You might not have the necessary permissions to access the resource.
statusintegerrequiredAllowed values:
403messagestringrequired404· Not Found. The requested resource could not be found.
statusintegerrequiredAllowed values:
404messagestringrequiredWas this helpful?