More

Propose job spec

Propose a JobSpec from a plain-text job description. Needs ANTHROPIC_API_KEY on the server.

POST/v1/assist/jobspecAPI key

Authorization

Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.

Body

textstringrequired

minLength: 1

maxLength: 4000

Responses

200application/json

Successful Response

Show response attributes
imagestringrequired

minLength: 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[]required

minItems: 1

envstring[]required

Names only; values stay empty.

pattern: ^[A-Za-z_][A-Za-z0-9_]*$

min_vram_gbintegerrequired

minimum: 1

timeout_secondsintegerrequired

minimum: 1

maximum: 21600

workload_classstringrequired

minLength: 1

401application/json

UNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.

UNAUTHENTICATED
403application/json

CSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.

CSRF_ORIGIN_MISMATCH
422application/json

VALIDATION_ERROR: text is blank or longer than 4000 characters.

VALIDATION_ERROR
429application/json

RATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.

RATE_LIMITED
500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
502application/json

AUTH_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_FAILED
503application/json

AUTH_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