Get Eval Run
Not available yet. This operation is part of the published contract and answers
501 not_implementeduntil it is built. The request and response shapes below are final for this contract version.
HTTPBearerAuthorizationBearer <token>Bearer credential. API keys look like sqk_<geo>_<key_id>_<secret>: treat them as opaque and never put one in a browser. Older keys without the geo part stay valid until rotated. Find a geo's endpoints through GET /.well-known/sparq-discovery before sending a key.
eval_run_id*Eval Run IduuidSparq-Workspace?stringFor a person signed in to a console with several workspaces: the workspace this call is for, one of their memberships (listMyMemberships). Without it such a person gets workspace_required (400); a workspace they are not a member of is forbidden. It never grants anything, and other callers' credentials ignore it.
uuidSuccessful Response
application/json- response
An evaluation of a draft against its tests and the platform suites.
eval_run_id*Eval Run Iduuiddraft_id*Draft Iduuidsuite*SuiteLower-case name: a letter, then letters, digits, '_' or '-'. Max 63.
^[a-z][a-z0-9_-]{0,62}$status*EvalRunStatus"queued""running""passed""failed""error"pass_rate*|nullleaks_found*|nullstarted_at*Started Atdate-timefinished_at*|nullcurl -X GET 'http://dev-sparq.centralindia.cloudapp.azure.com:8000/v1/admin/eval-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "eval_run_id": "8022d801-acb6-4836-b536-3cd4138b6ae0", "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "suite": "string", "status": "queued", "pass_rate": 0, "leaks_found": 0, "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z"}Get Draft GET
> **Not available yet.** This operation is part of the published contract and answers `501 not_implemented` until it is built. The request and response shapes below are final for this contract version.
Get Release GET
> **Not available yet.** This operation is part of the published contract and answers `501 not_implemented` until it is built. The request and response shapes below are final for this contract version.