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

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Security
    1. AChoose a pool for your data
    2. BCoding agents and prompt injection
    3. CWhat a Community pool provider can see
    4. DWhat HIPS stores
    5. EKnowledge and RAG data
  4. 04Migrate to HIPS

Guides

  1. 05HIPS SDK
  2. 06Import and run your model
  3. 07Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 08Batch jobs
  5. 09Prompt caching
  6. 10Code with HIPS
  7. 11Coding-tool setup
    1. AHIPS Code
    2. BClaude Code
    3. CCodex
    4. DOpenCode
    5. EKilo
    6. FPi
    7. GQwen Code
    8. HCrush
    9. ICline
    10. JPrime Agent
    11. KAider
    12. LGoose
    13. MHermes Agent
    14. NGrok Build
    15. ODeepSeek Harness
    16. POther coding tools and editor integrations
  8. 12Command line
    1. AInstall and update
    2. BSign in
    3. CStatus and models
    4. DCoding agents
    5. ETeam
    6. FJoin a team
    7. GHow a team works
  9. 13Console
    1. AAccount
    2. BWorkspaces
    3. CAPI keys
    4. DSettings
    5. EUsage
    6. FModels
    7. GPlayground
    8. HDeployments
  10. 14Billing
  11. 15Provider setup
    1. AWhen it works
    2. BCommands
    3. CSettings
    4. DProvider Console
    5. EEarnings
    6. FCrash reports
    7. GData centers
    8. HOpenStack
  12. 16Semantic routing
  13. 17Guardrails
  14. 18Knowledge

Reference

  1. 19API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DMessages
    5. ECount tokens
    6. FModels
    7. GPrices API
    8. HTasks
    9. IEmbeddings and rerank
    10. JImages
    11. KJobs
    12. LUploads
    13. MFiles
    14. NBatches
    15. OWebhooks
    16. PVector stores
    17. QDeployments
    18. RRequirements and headers
    19. SErrors
    20. TUsage
    21. UVersioning
  2. 20Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FThinking levels
    7. GData handling
    8. HCompatibility matrix
  3. 21Changelog
Sheet indexAPI reference

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Security
    1. AChoose a pool for your data
    2. BCoding agents and prompt injection
    3. CWhat a Community pool provider can see
    4. DWhat HIPS stores
    5. EKnowledge and RAG data
  4. 04Migrate to HIPS

Guides

  1. 05HIPS SDK
  2. 06Import and run your model
  3. 07Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 08Batch jobs
  5. 09Prompt caching
  6. 10Code with HIPS
  7. 11Coding-tool setup
    1. AHIPS Code
    2. BClaude Code
    3. CCodex
    4. DOpenCode
    5. EKilo
    6. FPi
    7. GQwen Code
    8. HCrush
    9. ICline
    10. JPrime Agent
    11. KAider
    12. LGoose
    13. MHermes Agent
    14. NGrok Build
    15. ODeepSeek Harness
    16. POther coding tools and editor integrations
  8. 12Command line
    1. AInstall and update
    2. BSign in
    3. CStatus and models
    4. DCoding agents
    5. ETeam
    6. FJoin a team
    7. GHow a team works
  9. 13Console
    1. AAccount
    2. BWorkspaces
    3. CAPI keys
    4. DSettings
    5. EUsage
    6. FModels
    7. GPlayground
    8. HDeployments
  10. 14Billing
  11. 15Provider setup
    1. AWhen it works
    2. BCommands
    3. CSettings
    4. DProvider Console
    5. EEarnings
    6. FCrash reports
    7. GData centers
    8. HOpenStack
  12. 16Semantic routing
  13. 17Guardrails
  14. 18Knowledge

Reference

  1. 19API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DMessages
    5. ECount tokens
    6. FModels
    7. GPrices API
    8. HTasks
    9. IEmbeddings and rerank
    10. JImages
    11. KJobs
    12. LUploads
    13. MFiles
    14. NBatches
    15. OWebhooks
    16. PVector stores
    17. QDeployments
    18. RRequirements and headers
    19. SErrors
    20. TUsage
    21. UVersioning
  2. 20Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FThinking levels
    7. GData handling
    8. HCompatibility matrix
  3. 21Changelog
19
  1. Docs/
  2. API reference/
  3. Vector stores
(Detail P)
llms.txt

Vector stores

On this sheet5 sections
  1. Who may call
  2. The base
  3. The document
  4. Search
  5. Errors

Knowledge in OpenAI's vector store API, so the OpenAI SDKs call it unchanged: a knowledge base is a vector_store whose id is its kb_ id, a document a vector_store.file whose id is its File's. OpenAI's names, fields and statuses, with HIPS's additions in a hips member OpenAI's clients ignore; a field the routes do not take is a 400 that names it.

POST/v1/vector_storesserved

Create a base: name, file_ids, chunking_strategy, metadata, expires_after, and hips with embedding_model, pool and region.

GET/v1/vector_storesserved

OpenAI's list: limit, order, after, before.

GET/v1/vector_stores/{id}served

The base.

POST/v1/vector_stores/{id}served

Change name, metadata, expires_after or hips.pool; the embedding model and the region never change.

DELETE/v1/vector_stores/{id}served

{"id", "object": "vector_store.deleted", "deleted": true}; the base is purged.

POST/v1/vector_stores/{id}/filesserved

Add a document: file_id, attributes (up to 16 keys), chunking_strategy.

GET/v1/vector_stores/{id}/filesserved

The documents, filtered by status.

GET/v1/vector_stores/{id}/files/{file_id}served

A document.

POST/v1/vector_stores/{id}/files/{file_id}served

Change a document's attributes.

DELETE/v1/vector_stores/{id}/files/{file_id}served

Remove a document from the base; the File is kept.

GET/v1/vector_stores/{id}/files/{file_id}/contentserved

The document's extracted text, in pages of 262,144 characters with has_more, next_page and page.

POST/v1/vector_stores/{id}/file_batchesserved

Add several documents at once: OpenAI's file batches, ids kbb_....

GET/v1/vector_stores/{id}/file_batches/{batch_id}served

A file batch with its counts.

POST/v1/vector_stores/{id}/file_batches/{batch_id}/cancelserved

Cancel a file batch: documents still unread end cancelled.

GET/v1/vector_stores/{id}/file_batches/{batch_id}/filesserved

The documents of a file batch.

POST/v1/vector_stores/{id}/searchserved

Search the base without a model.

F
Fig. 1, sheet 19API reference

Who may call

  1. 01
    Writes

    Creating, changing and deleting a base, adding, changing and removing a document, file batches, and uploading a document's File: a full key, or a person's token with the inference scope of a member who may write. Any other key is a 403 key_scope_denied.

  2. 02
    Reads and search

    Any key of the workspace, an inference_only key included, and a person's token with the inference scope.

  3. 03
    Another workspace's id

    404, never 403. Reads, exports and deletes answer in a paused workspace too.

The base

vector_store

00000000000000000000000000000000000000001{2  "id": "kb_...",3  "object": "vector_store",4  "created_at": 1792576800,5  "name": "Product manuals",6  "usage_bytes": 0,7  "file_counts": {"in_progress": 0, "completed": 0, "failed": 0, "cancelled": 0, "total": 0},8  "status": "completed",9  "expires_after": null,10  "expires_at": null,11  "last_active_at": 1792576800,12  "metadata": {},13  "hips": {"embedding_model": "<catalog id>", "pool": "auto", "region": "eu", "chunks": 0, "storage": {"price": null, "monthly_micros": null}}14}
vector_store sample

status is in_progress while a document is being read, else completed. usage_bytes is the stored bytes it is billed for; hips.storage its storage price and monthly amount in micro-dollars, null while no storage price is in effect. A base or a document still being read carries openai-poll-after-ms, when to read it again.

The document

id (the file_ id), object: "vector_store.file", vector_store_id, created_at, usage_bytes, status (in_progress, completed, failed, cancelled), last_error (OpenAI's server_error, unsupported_file or invalid_file, and its message), chunking_strategy, attributes, and hips with stage, progress, delayed, error_code, chunks and tokens (Knowledge lists the stages and codes).

Search

The body: query (a string, or a list of strings), max_num_results, filters (OpenAI's comparison filters eq, ne, gt, gte, lt, lte, in, nin and compound and, or over the documents' attributes), ranking_options (score_threshold, ranker). rewrite_query: true is a 400 unsupported_value: HIPS rewrites no query. A NUL in a query or a filter is a 400 invalid_value.

Search answer

00000000000000000000000000000000000000001{2  "object": "vector_store.search_results.page",3  "search_query": "...",4  "data": [5    {"file_id": "file_...", "filename": "manual.pdf", "score": 0.0, "attributes": {},6     "content": [{"type": "text", "text": "..."}],7     "hips": {"heading": "...", "byte_start": 0, "byte_end": 0, "pages": [1]}}8  ],9  "has_more": false,10  "next_page": null11}
Search answer sample

One base a search. A search is one request of your limits. It is billed as one knowledge_search call. Server-Timing names the stages kb-base, kb-embed and kb-search.

Errors

StatusTypeCodeSituationRetry
400invalid_request_errorinvalid_valueA value is out of range or malformed: stop with more than 16 entries, a prompt_cache_key over 512 characters, a string holding a lone surrogate escape, a router name with an empty or unknown suffix, both max_tokens names with different values, an x-client-request-id header that is not printable ASCII or is over 512 characters (param x-client-request-id)No
400invalid_request_errorunsupported_valuen other than 1, stream_options without stream, a message role, part, item or tool type not accepted, a hosted tool type HIPS does not runNo
400invalid_request_errorknowledge_not_availableA Knowledge search while no search price is in force; nothing is chargedNo
400invalid_request_errorlimit_reachedA file or knowledge base past a limit the message namesNo
400invalid_request_errorregion_unavailableA knowledge base in a region with no storeNo
400invalid_request_errorstorage_marked_for_deletionOn POST /v1/vector_stores, POST /v1/vector_stores/{vector_store_id}/files and POST /v1/vector_stores/{vector_store_id}/file_batches: the workspace's stored files are marked for deletion, since a month's storage could not be paid, and nothing new is added to them; the message names the date. Reading and deleting still workOnce credit brings the balance back to zero or above, which clears the mark at once (the Console answers the same code as a 409)
402insufficient_creditinsufficient_creditThe balance does not cover the request's maximum cost at the bound quoteAfter a top-up
403permission_errorkey_scope_deniedThe key's kind excludes the route: a retrieval key on any route but its batch and file reads; a key other than full writing a knowledge base's documentsNo
404not_found_errorknowledge_base_not_foundA knowledge base that is not the workspace's, or that is being deletedNo
404not_found_errorroute_not_foundUnknown pathNo
429rate_limit_errorrate_limit_exceededA rate limit; param is the counter that is full: requests, input_tokens (the prompt does not fit what is left of the input tokens a minute), output_tokens (the output tokens a minute are spent), uploads, batches (batches created per hour) or knowledge_search; Retry-After and retry-after-msYes, after Retry-After
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_value
    Situation
    A value is out of range or malformed: stop with more than 16 entries, a prompt_cache_key over 512 characters, a string holding a lone surrogate escape, a router name with an empty or unknown suffix, both max_tokens names with different values, an x-client-request-id header that is not printable ASCII or is over 512 characters (param x-client-request-id)
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    unsupported_value
    Situation
    n other than 1, stream_options without stream, a message role, part, item or tool type not accepted, a hosted tool type HIPS does not run
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    knowledge_not_available
    Situation
    A Knowledge search while no search price is in force; nothing is charged
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    limit_reached
    Situation
    A file or knowledge base past a limit the message names
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    region_unavailable
    Situation
    A knowledge base in a region with no store
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    storage_marked_for_deletion
    Situation
    On POST /v1/vector_stores, POST /v1/vector_stores/{vector_store_id}/files and POST /v1/vector_stores/{vector_store_id}/file_batches: the workspace's stored files are marked for deletion, since a month's storage could not be paid, and nothing new is added to them; the message names the date. Reading and deleting still work
    Retry
    Once credit brings the balance back to zero or above, which clears the mark at once (the Console answers the same code as a 409)
  • Status
    402
    Type
    insufficient_credit
    Code
    insufficient_credit
    Situation
    The balance does not cover the request's maximum cost at the bound quote
    Retry
    After a top-up
  • Status
    403
    Type
    permission_error
    Code
    key_scope_denied
    Situation
    The key's kind excludes the route: a retrieval key on any route but its batch and file reads; a key other than full writing a knowledge base's documents
    Retry
    No
  • Status
    404
    Type
    not_found_error
    Code
    knowledge_base_not_found
    Situation
    A knowledge base that is not the workspace's, or that is being deleted
    Retry
    No
  • Status
    404
    Type
    not_found_error
    Code
    route_not_found
    Situation
    Unknown path
    Retry
    No
  • Status
    429
    Type
    rate_limit_error
    Code
    rate_limit_exceeded
    Situation
    A rate limit; param is the counter that is full: requests, input_tokens (the prompt does not fit what is left of the input tokens a minute), output_tokens (the output tokens a minute are spent), uploads, batches (batches created per hour) or knowledge_search; Retry-After and retry-after-ms
    Retry
    Yes, after Retry-After

A document's File that is not the workspace's, or is gone, is a 404 file_not_found; past the ingestion and search limits the 429 names knowledge_ingest or knowledge_search.

Related sheets

  • Knowledge
  • Files
Previous sheetWebhooks
Next sheetDeployments
Sheet
19 of 21
Detail
P
Updated
2026-11-23
Sign in to the Console

On this sheet

  1. Who may call
  2. The base
  3. The document
  4. Search
  5. Errors

Product

  • Inference
  • Models
  • Serverless GPUs
  • GPU rental
  • Deploy your model
  • Coding agents
  • How it works
  • Use cases
  • Pricing

Models

  • DeepSeek API
  • Kimi API
  • Qwen API
  • GLM API
  • Gemma API
  • Mistral API
  • gpt-oss API
  • All models

Developer

  • Docs
  • Quickstart
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference
  • Claude Code pricing

Provider

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

Resource

  • Security and Data
  • Resources
  • llms.txt

Compare

  • OpenRouter alternatives
  • Together AI alternatives
  • Groq alternatives
  • Runpod alternatives
  • Claude Code alternatives
  • Cursor alternatives
  • All comparisons

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

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

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ