Skip to content
HIPS
  • Earn with your GPU
  • Pricing
  • Docs
Sign inJoin early access
⌘K

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Migrate to HIPS

Guides

  1. 04HIPS SDK
    1. APython
    2. BTypeScript and JavaScript
    3. CGo
    4. DRust
    5. EJava
    6. F.NET
    7. GPHP
    8. HRuby
  2. 05Import and run your model
  3. 06Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 07Batch jobs
  5. 08Prompt caching
  6. 09Coding-tool setup
    1. AClaude Code
    2. BOther coding tools and editor integrations
  7. 10Command line
    1. ASign in

Reference

  1. 11API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DModels
    5. ETasks
    6. FJobs
    7. GUploads
    8. HDeployments
    9. IRequirements and headers
    10. JErrors
    11. KUsage
    12. LVersioning
  2. 12Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FData handling
    7. GCompatibility matrix
  3. 13Changelog
Sheet indexAPI reference

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Migrate to HIPS

Guides

  1. 04HIPS SDK
    1. APython
    2. BTypeScript and JavaScript
    3. CGo
    4. DRust
    5. EJava
    6. F.NET
    7. GPHP
    8. HRuby
  2. 05Import and run your model
  3. 06Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 07Batch jobs
  5. 08Prompt caching
  6. 09Coding-tool setup
    1. AClaude Code
    2. BOther coding tools and editor integrations
  7. 10Command line
    1. ASign in

Reference

  1. 11API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DModels
    5. ETasks
    6. FJobs
    7. GUploads
    8. HDeployments
    9. IRequirements and headers
    10. JErrors
    11. KUsage
    12. LVersioning
  2. 12Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FData handling
    7. GCompatibility matrix
  3. 13Changelog
11
  1. Docs/
  2. API reference/
  3. Tasks
(Detail E)

PreviewNot yet validated. Join early access

llms.txt

Tasks

On this sheet3 sections
  1. Batching
  2. The response
  3. Errors this route can answer

The versioned contract the HIPS SDK wraps: the envelope, the routes, the states and the rules that hold for every task. Task types, their inputs, options and output shapes are the catalog's.

POST/v1/taskspreview

A synchronous task: one request, one batch of inputs, one result array.

F
Fig. 1, sheet 11API reference

Request

00000000000000000000000000000000000000001{2  "model": "<catalog id>",3  "task": "classification",4  "inputs": [5    {"id": "a", "type": "image", "data": "<base64>"},6    {"id": "b", "type": "image", "upload_id": "upl_..."}7  ],8  "options": {"top_k": 3},9  "hips": {"pool": "personal", "pricing_mode": "market", "fallback": false}10}
Request sample

Parts list: Fields

  1. 01
    model or deploymentExactly one

    model is a catalog id, alias or pinned id; deployment is a dep_ id. A dep_ in model is a 400 invalid_value that points at deployment.

  2. 02
    taskRequired

    Must be the model's task, or one of them for a model advertising several; otherwise a 400 task_mismatch.

  3. 03
    inputsRequired

    An array; each input an object with an optional id (unique within the request; the index is used when absent), a type (text, image, audio, file) and exactly one of text, data (base64 inline, within the limits) or upload_id (an upl_ of the key's workspace). No url at launch Not decided yet.

  4. 04
    optionsPer task

    The task's options as the catalog defines them per task (labels for a zero-shot classifier, top_k, image size, voice, language). An unknown option is a 400 unknown_parameter.

  5. 05
    hipsOptional

    The request requirements: pool, pricing_mode, region, fallback.

Batching

The inputs array is the batch. One request is one job, one quote, one usage record and one x-hips-cost-micros; the cost is the number of inputs times the model's unit price. The maximum inputs per request and the maximum inline bytes are the model's hips.limits and the plan's limit. The whole batch runs on one worker; it is not split across pools.

The response

Response

00000000000000000000000000000000000000001{2  "object": "task",3  "id": "job_...",4  "model": "<pinned id>",5  "task": "classification",6  "results": [7    {"input": "a", "labels": [{"label": "invoice", "score": 0.91}, {"label": "receipt", "score": 0.07}]},8    {"input": "b", "error": {"message": "...", "type": "invalid_request_error", "param": "inputs[1].data", "code": "invalid_image"}}9  ],10  "usage": {"units": 2, "unit": "classification", "billed_units": 1}11}
Response sample

Parts list: Rules

  1. 01
    results

    One entry per input, in request order, with input the input's id. A task's result shape (labels with scores, a vector, an image, a transcript with segments) is the catalog's per task type.

  2. 02
    Per-input failure

    An input the worker cannot read gets an error entry in the envelope's shape and is not billed; the other inputs are answered. usage.billed_units counts the answered ones.

  3. 03
    Request failure

    A request that is malformed, over a limit, or names a model, task or requirement it cannot use is a 400 before any work; nothing is billed.

  4. 04
    Synchronous limit

    A task that would exceed the synchronous time limit Not decided yet is refused with a 400 use_jobs before it starts, when the gateway can tell; one that runs over it is timed_out.

  5. 05
    id

    The job id. A task is a job that answered inline; GET /v1/jobs/{id} returns the same result until it expires.

Errors this route can answer

StatusTypeCodeSituationRetry
400invalid_request_errorinvalid_jsonThe body is not JSON, or not an objectNo
400invalid_request_errormissing_required_parameterA required field is absent; param names itNo
400invalid_request_errorinvalid_typeA field has the wrong JSON typeNo
400invalid_request_errorinvalid_valueA value is out of range or malformedNo
400invalid_request_errorunknown_parameterA field the gateway does not know, at any depth; param names itNo
400invalid_request_errorinvalid_imageAn image part or input cannot be decoded, is of an unsupported type or over the pixel limitNo
400invalid_request_errorrequest_too_large, input_too_large, too_many_inputs, upload_too_largeA limit of the Limits pageNo
400invalid_request_errortask_mismatchtask is not the model's taskNo
400invalid_request_errordeployment_stoppedThe dep_ is in stopped; start it in the ConsoleNo
400invalid_request_errorupload_not_found, upload_expired, upload_incomplete, upload_mismatch, upload_consumedAn upload_id that is unknown or another workspace's, past expires_at, without bytes, with bytes that differ from the declaration, or already consumedNo (upload_incomplete: after the PUT)
400invalid_request_errorinvalid_requirementA requirement header or field with an unknown valueNo
400invalid_request_errorrequirement_conflictTwo requirements that cannot both hold, a header and a hips field that differ, a pool the model is never offered in, personal with an always-on deploymentNo
400invalid_request_erroruse_jobsA synchronous task the gateway can tell will exceed the synchronous limitAs a job
400invalid_request_errorinvalid_idempotency_key, idempotency_key_reused, idempotency_in_progressThe idempotency rulesThe last one, later
402insufficient_creditinsufficient_creditThe balance does not cover the request's maximum cost at the bound quote. On the free plan with the allowance used, the message names when it resetsAfter a top-up
403permission_errormodel_not_on_planThe model or feature is not in the workspace's planNo
403permission_errorpool_not_allowedA pool the workspace may not use for this modelNo
404not_found_errormodel_not_foundUnknown catalog id, alias, pinned id or dep_; another workspace's dep_No
404not_found_errorjob_not_found, upload_not_foundAn id in the path that is unknown or another workspace'sNo
429rate_limit_errorrate_limit_exceededA rate limit; param is requests, tokens, units or uploads; Retry-AfterYes, after Retry-After
503overloaded_errorno_capacityNo eligible worker under the request's requirements, in any pool the requirements allow; Retry-AfterYes
503overloaded_errorpool_unavailableThe named pool has no eligible supply for this model now and fallback is off; the other pool may have; Retry-AfterYes, or with fallback
503overloaded_erroroverloadedEligible workers exist and every one is saturated, or the queue is full; Retry-AfterYes
500api_errorinternal_errorA fault in HIPS. Nothing billedOnce
500api_errorattempt_failedEvery attempt failed for a reason that is not the client's and retries are exhausted. Nothing billedOnce
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_json
    Situation
    The body is not JSON, or not an object
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    missing_required_parameter
    Situation
    A required field is absent; param names it
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_type
    Situation
    A field has the wrong JSON type
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_value
    Situation
    A value is out of range or malformed
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    unknown_parameter
    Situation
    A field the gateway does not know, at any depth; param names it
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_image
    Situation
    An image part or input cannot be decoded, is of an unsupported type or over the pixel limit
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    request_too_large, input_too_large, too_many_inputs, upload_too_large
    Situation
    A limit of the Limits page
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    task_mismatch
    Situation
    task is not the model's task
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    deployment_stopped
    Situation
    The dep_ is in stopped; start it in the Console
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    upload_not_found, upload_expired, upload_incomplete, upload_mismatch, upload_consumed
    Situation
    An upload_id that is unknown or another workspace's, past expires_at, without bytes, with bytes that differ from the declaration, or already consumed
    Retry
    No (upload_incomplete: after the PUT)
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_requirement
    Situation
    A requirement header or field with an unknown value
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    requirement_conflict
    Situation
    Two requirements that cannot both hold, a header and a hips field that differ, a pool the model is never offered in, personal with an always-on deployment
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    use_jobs
    Situation
    A synchronous task the gateway can tell will exceed the synchronous limit
    Retry
    As a job
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress
    Situation
    The idempotency rules
    Retry
    The last one, later
  • Status
    402
    Type
    insufficient_credit
    Code
    insufficient_credit
    Situation
    The balance does not cover the request's maximum cost at the bound quote. On the free plan with the allowance used, the message names when it resets
    Retry
    After a top-up
  • Status
    403
    Type
    permission_error
    Code
    model_not_on_plan
    Situation
    The model or feature is not in the workspace's plan
    Retry
    No
  • Status
    403
    Type
    permission_error
    Code
    pool_not_allowed
    Situation
    A pool the workspace may not use for this model
    Retry
    No
  • Status
    404
    Type
    not_found_error
    Code
    model_not_found
    Situation
    Unknown catalog id, alias, pinned id or dep_; another workspace's dep_
    Retry
    No
  • Status
    404
    Type
    not_found_error
    Code
    job_not_found, upload_not_found
    Situation
    An id in the path that is unknown or another workspace's
    Retry
    No
  • Status
    429
    Type
    rate_limit_error
    Code
    rate_limit_exceeded
    Situation
    A rate limit; param is requests, tokens, units or uploads; Retry-After
    Retry
    Yes, after Retry-After
  • Status
    503
    Type
    overloaded_error
    Code
    no_capacity
    Situation
    No eligible worker under the request's requirements, in any pool the requirements allow; Retry-After
    Retry
    Yes
  • Status
    503
    Type
    overloaded_error
    Code
    pool_unavailable
    Situation
    The named pool has no eligible supply for this model now and fallback is off; the other pool may have; Retry-After
    Retry
    Yes, or with fallback
  • Status
    503
    Type
    overloaded_error
    Code
    overloaded
    Situation
    Eligible workers exist and every one is saturated, or the queue is full; Retry-After
    Retry
    Yes
  • Status
    500
    Type
    api_error
    Code
    internal_error
    Situation
    A fault in HIPS. Nothing billed
    Retry
    Once
  • Status
    500
    Type
    api_error
    Code
    attempt_failed
    Situation
    Every attempt failed for a reason that is not the client's and retries are exhausted. Nothing billed
    Retry
    Once

Related sheets

  • Task guides
  • Idempotency
Previous sheetModels
Next sheetJobs
Sheet
11 of 13
Detail
E
Updated
2026-10-21
Status
Preview
Join early access

On this sheet

  1. Batching
  2. The response
  3. Errors this route can answer

Product

  • Inference
  • Models
  • Deploy your model
  • Always-on GPU capacity
  • How it works
  • Use cases
  • Pricing

Developer

  • Docs
  • Quickstart preview
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference

Provider

  • Earn with your GPU
  • Register GPU interest
  • Download for Mac
  • Download for Windows
  • Download for Linux

Resource

  • Security and Data
  • Resources
  • llms.txt

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

  • Legal
  • Consumer Health Data Privacy Policy
  • Report content
  • Cookie settings

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ