More
Propose job spec
Propose a JobSpec from a plain-text job description. Needs ANTHROPIC_API_KEY on the server.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Body
textstringrequiredminLength: 1
maxLength: 4000
Responses
200application/jsonSuccessful Response
Show response attributes
imagestringrequiredminLength: 1
pattern: ^(?:[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*(?::[0-9]{1,5})?/)?[a-z0-9]+(?:[._-]+[a-z0-9]+)*(?:/[a-z0-9]+(?:[._-]+[a-z0-9]+)*)*(?::[A-Za-z0-9_][A-Za-z0-9._-]{0,127})?(?:@sha256:[a-f0-9]{64})?$
commandstring[]requiredminItems: 1
envstring[]requiredNames only; values stay empty.
pattern: ^[A-Za-z_][A-Za-z0-9_]*$
min_vram_gbintegerrequiredminimum: 1
timeout_secondsintegerrequiredminimum: 1
maximum: 21600
workload_classstringrequiredminLength: 1
401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED403application/jsonCSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.
CSRF_ORIGIN_MISMATCH422application/jsonVALIDATION_ERROR: text is blank or longer than 4000 characters.
VALIDATION_ERROR429application/jsonRATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.
RATE_LIMITED500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERROR502application/jsonAUTH_PROVIDER_REJECTED (not retryable), or ASSIST_FAILED: the Claude API failed, gave no proposal, or proposed fields that break the job spec rules (retryable for timeouts, rate limits, and server errors).
AUTH_PROVIDER_REJECTEDASSIST_FAILED503application/jsonAUTH_NOT_CONFIGURED, AUTH_PROVIDER_UNAVAILABLE (retryable), or ASSIST_NOT_CONFIGURED: ANTHROPIC_API_KEY is not set (not retryable).
AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLEASSIST_NOT_CONFIGURED