Parasail · Schema

Parasail Batch

A batch inference job submitted to Parasail's OpenAI-compatible /v1/batches endpoint.

AIArtificial IntelligenceGPUInferenceLarge Language ModelsOpen Source ModelsHugging FaceBatchEmbeddingsTokenmaxxingSupercloud

Properties

Name Type Description
id string
object string
endpoint string
input_file_id string
output_file_id string
error_file_id string
status string
request_counts object
created_at integer
completed_at integer
cancelled_at integer
metadata object
View JSON Schema on GitHub

JSON Schema

parasail-batch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/parasail-ai/main/json-schema/parasail-batch-schema.json",
  "title": "Parasail Batch",
  "description": "A batch inference job submitted to Parasail's OpenAI-compatible /v1/batches endpoint.",
  "type": "object",
  "required": ["id", "object", "endpoint", "input_file_id", "status"],
  "properties": {
    "id": { "type": "string" },
    "object": { "type": "string", "const": "batch" },
    "endpoint": {
      "type": "string",
      "enum": ["/v1/chat/completions", "/v1/embeddings"]
    },
    "input_file_id": { "type": "string" },
    "output_file_id": { "type": "string" },
    "error_file_id": { "type": "string" },
    "status": {
      "type": "string",
      "enum": ["validating", "in_progress", "finalizing", "completed", "expired", "cancelling", "cancelled", "failed"]
    },
    "request_counts": {
      "type": "object",
      "properties": {
        "total": { "type": "integer" },
        "completed": { "type": "integer" },
        "failed": { "type": "integer" }
      }
    },
    "created_at": { "type": "integer" },
    "completed_at": { "type": "integer" },
    "cancelled_at": { "type": "integer" },
    "metadata": { "type": "object", "additionalProperties": { "type": "string" } }
  }
}