{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revise-io/json-schema/revise-io-get-api-v1-prompt-id-response-schema.json",
  "title": "GetApiV1PromptIdResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/revise-io-openapi-generated.yml#/components/schemas/GetApiV1PromptIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Prompt identifier"
    },
    "conversation_id": {
      "type": "string",
      "description": "Conversation identifier"
    },
    "previous_prompt_id": {
      "type": "string",
      "description": "Previous prompt identifier"
    },
    "status": {
      "type": "string",
      "description": "One of \"queued\", \"running\", \"paused\", \"succeeded\", \"failed\", \"cancelled\""
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "completed_at": {
      "type": "string",
      "description": "Completion timestamp"
    },
    "conversation_expires_at": {
      "type": "string",
      "description": "Conversation expiration timestamp"
    },
    "message": {
      "type": "string",
      "description": "Message object (details omitted)"
    },
    "continuation": {
      "type": "string",
      "description": "Continuation object (details omitted)"
    },
    "reasoning_state": {
      "type": "string",
      "description": "One of \"new\", \"reused\", \"reset\", \"compacted\", \"unavailable\""
    },
    "history_compacted": {
      "type": "boolean",
      "description": "History compacted flag"
    },
    "reason": {
      "type": "string",
      "description": "Reason for status"
    },
    "comments": {
      "type": "array",
      "description": "Flat native comment records"
    },
    "artifacts": {
      "type": "array",
      "description": "Associated artifacts"
    },
    "inference": {
      "type": "object",
      "description": "Inference details (provider, model, etc.)"
    },
    "limits": {
      "type": "object",
      "description": "Limits applied to the request"
    },
    "error": {
      "type": "object",
      "description": "Error object if request failed"
    },
    "api_key_id": {
      "type": "string",
      "description": "Non-secret ID of the key that originally submitted this prompt"
    },
    "output_encrypted": {
      "type": "boolean",
      "description": "True disables continuation and reuse"
    },
    "content_expires_at": {
      "type": "string",
      "description": "24 hours after terminal completion"
    },
    "content_deleted_at": {
      "type": "string",
      "description": "Retention deletion timestamp"
    },
    "incomplete": {
      "type": "boolean",
      "description": "True when the request returned a partial result"
    },
    "stop_reason": {
      "type": "string",
      "description": "Limit that ended further agent work"
    }
  }
}