Admit one funded evaluation case
const url = 'https://api.katara.com/katara/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evaluation-assessments';const options = { method: 'POST', headers: { cookie: 'katara_session=<katara_session>', 'Idempotency-Key': 'example', 'X-Katara-CSRF': '1', 'Content-Type': 'application/json' }, body: '{"dataset":{"asset_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","version":1,"integrity":"example"},"case_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","rubric":{"asset_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","version_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","version":1,"integrity":"example","review_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"},"candidate_output_ref":{"org_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","environment_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","version":1,"integrity":"example","media_type":"application/json","size_bytes":1},"model_id":"example","profile":{"version":"katara.evaluation.judge.v1","instruction_hash":"example","response_hash":"example","parser_version":"katara.evaluation.score.v1","temperature":0,"max_output_tokens":4096,"max_attempts":1},"run":{"usage_class":"test_compute"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.katara.com/katara/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evaluation-assessments \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --header 'X-Katara-CSRF: 1' \ --cookie katara_session=<katara_session> \ --data '{ "dataset": { "asset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version": 1, "integrity": "example" }, "case_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "rubric": { "asset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version": 1, "integrity": "example", "review_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "candidate_output_ref": { "org_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "environment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version": 1, "integrity": "example", "media_type": "application/json", "size_bytes": 1 }, "model_id": "example", "profile": { "version": "katara.evaluation.judge.v1", "instruction_hash": "example", "response_hash": "example", "parser_version": "katara.evaluation.score.v1", "temperature": 0, "max_output_tokens": 4096, "max_attempts": 1 }, "run": { "usage_class": "test_compute" } }'Requires current evaluation write and run creation authority, exact reviewed rubric and approved assessment manifest, a tool-free judge version, candidate output and selected workload grants. Test Compute requires explicit real-credit consent. The private paid controller must be configured. Recovery reuses the exact request and idempotency key; admission is not a score, calibration, promotion or settled-payment claim.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Browser cookie mutations require value 1 and an allowed Origin. Session bearer clients may omit this header.
Required for cookie-authenticated changes. Use the UUID of the account that loaded the application. A different current cookie account returns account_changed before the handler runs. Session bearer and API key clients do not require this header.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
object
object
object
object
object
Explicit destination for run artifacts. Store and key versions must still be active at admission and byte access. Choose retention from 60 seconds to 365 days; no silent default or destination substitution.
object
object
Responses
Section titled “Responses”Committed assessment and dedicated run admission; resource_id is both the assessment ID and run ID.
object
Examplegenerated
{ "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "resource_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "completed": true}Version, source authority or cookie account changed. Reinspect before a new intent. Preserve the original key to recover an uncertain committed operation.
default
Section titled “default”Request rejected or unavailable.
object
object
Stable; branch on it. Any operation can answer invalid_request, with param naming the refused field when there is one; human_session_required, when an API key, service account or workload calls an operation only a signed-in person may perform; reauthentication_required, when a person’s sign-in is too old for the operation; permission_denied; route_not_found and method_not_allowed, when no operation matches the path or method; and feature_unavailable, when the operation’s service is not enabled on this deployment.
The request field a refusal is about, such as the agent_id or run_id query parameter; null when the refusal is not about one field.
Example
{ "error": { "action": "sign_in" }}