---
updatedAt: 2026-09-25T18:34:14.000Z
agentTools:
  projectIndex: https://docs.centaurlabs.com/llms.txt
---

# /reads/public/v1/lookup

Retrieves a list of specific reads (opinions) within a task.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Centaur Label APIs"
  },
  "servers": [
    {
      "url": "https://api.centaurlabs.com/",
      "description": "Centaur Label APIs Production"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    },
    "schemas": {
      "ContentMetadata": {
        "type": "object",
        "properties": {
          "content_id": {
            "type": "integer",
            "description": "An identifier for the content."
          },
          "origin": {
            "type": "string",
            "description": "An identifier for the file origin of the content."
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp that content was created."
          },
          "series": {
            "type": "string",
            "nullable": true,
            "description": "An identifier for the series that the content belongs to."
          },
          "series_index": {
            "type": "integer",
            "nullable": true,
            "description": "The index of the content within the series (if any) that it belongs to."
          },
          "dicom_study_uid": {
            "type": "string",
            "nullable": true,
            "description": "The DICOM study UID of the content."
          },
          "dicom_series_uid": {
            "type": "string",
            "nullable": true,
            "description": "The DICOM series UID of the content."
          },
          "dicom_instance_uid": {
            "type": "string",
            "nullable": true,
            "description": "The DICOM instance UID of the content."
          }
        }
      },
      "ClassAnswer": {
        "type": "object",
        "properties": {
          "answer_class": {
            "type": "string",
            "description": "The label class within the answer (correct annotation, combined opinion, or labeler opinion)."
          },
          "is_correct": {
            "type": "boolean",
            "description": "Whether the answer includes the class. Included for classification tasks only."
          },
          "geometries": {
            "type": "array",
            "nullable": true,
            "description": "The segmentation for the answer class in WKT format. Included for contour segmentation tasks only.",
            "items": {
              "type": "string"
            }
          },
          "mask": {
            "type": "string",
            "nullable": true,
            "description": "A pre-signed URL to the segmentation for the answer class in mask (TIFF binary array) format. Included for mask segmentation tasks only."
          },
          "ranges": {
            "type": "array",
            "nullable": true,
            "description": "The integer ranges for the answer class. Included for range tasks only.",
            "items": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "minItems": 2,
              "maxItems": 2
            }
          },
          "entities": {
            "type": "array",
            "nullable": true,
            "description": "The entities for the answer class. Included for NER tasks only.",
            "items": {
              "type": "string"
            }
          },
          "freetexts": {
            "type": "array",
            "nullable": true,
            "description": "An array of freetexts with one entry (array or null) per finding.",
            "items": {
              "type": "array",
              "nullable": true,
              "description": "An array of freetexts for one specific finding. May contain 0, 1, or multiple text entries.",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "ReadContentMetadata": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ContentMetadata"
          },
          {
            "type": "object",
            "properties": {
              "asset_id": {
                "type": "integer",
                "description": "The content's asset ID. The same value as content_id."
              }
            }
          }
        ]
      },
      "ReadClassAnswer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ClassAnswer"
          },
          {
            "type": "object",
            "properties": {
              "label_class_id": {
                "type": "integer",
                "description": "The label class's ID."
              },
              "label_class_name": {
                "type": "string",
                "description": "The label class's name. The same value as answer_class."
              }
            }
          }
        ]
      },
      "Read": {
        "type": "object",
        "properties": {
          "read_id": {
            "type": "integer",
            "description": "An identifier for the read (opinion)."
          },
          "user_id": {
            "type": "integer",
            "description": "An identifier for the user."
          },
          "case_id": {
            "type": "integer",
            "description": "An identifier for the case."
          },
          "qscore": {
            "type": "number",
            "description": "The confidence level of the user read (opinion)."
          },
          "freetexts": {
            "type": "array",
            "nullable": true,
            "description": "The freetext attached to the case: the labeler's answers to case-level prompts, when they are submitted that way. Null when there are none.",
            "items": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "frames": {
            "type": "array",
            "description": "The frames of the read (opinion): the target frame(s), plus one entry per context document (multi-document annotation topics only) carrying a class-agnostic finding instead of a per-label-class user_opinion. Every entry carries the frame's class-agnostic freetext.",
            "items": {
              "type": "object",
              "properties": {
                "content_id": {
                  "type": "integer",
                  "description": "An identifier for the content associated with the frame."
                },
                "asset_id": {
                  "type": "integer",
                  "description": "The frame's asset ID. The same value as content_id."
                },
                "is_target": {
                  "type": "boolean",
                  "description": "Whether the frame is one being labeled, as opposed to a context document shown alongside it."
                },
                "user_opinion": {
                  "type": "array",
                  "description": "The portion of the read (opinion) annotation for the frame. Empty on context-document entries.",
                  "items": {
                    "$ref": "#/components/schemas/ReadClassAnswer"
                  }
                },
                "categories": {
                  "type": "array",
                  "description": "The category tags assigned to this document's asset. Present on context-document entries only.",
                  "items": {
                    "type": "string"
                  }
                },
                "freetexts": {
                  "type": "array",
                  "nullable": true,
                  "description": "The freetext attached to this frame rather than to a label class: on a target frame, the labeler's answers to case- and frame-level prompts submitted there (null when there are none); on a context document, its finding.",
                  "items": {
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "string",
                      "nullable": true
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ReadsLookup": {
        "type": "object",
        "properties": {
          "content_metadata": {
            "type": "array",
            "description": "The metadata for the content associated with the requested reads (opinions).",
            "items": {
              "$ref": "#/components/schemas/ReadContentMetadata"
            }
          },
          "reads": {
            "type": "array",
            "description": "The list of reads (opinions).",
            "items": {
              "$ref": "#/components/schemas/Read"
            }
          },
          "read_ids_not_found": {
            "type": "array",
            "description": "The list of read (opinion) IDs that were not found.",
            "items": {
              "type": "integer"
            }
          }
        }
      },
      "ReadsLookupRequest": {
        "type": "object",
        "required": [
          "task_id",
          "read_ids"
        ],
        "properties": {
          "task_id": {
            "type": "integer",
            "description": "The identifier for the task associated with the reads to be requested."
          },
          "read_ids": {
            "type": "array",
            "description": "The list of read (opinion) IDs to look up (maximum 1000).",
            "items": {
              "type": "integer"
            }
          },
          "verbose": {
            "type": "boolean",
            "description": "Whether to include verbose output in the response."
          }
        }
      }
    }
  },
  "paths": {
    "/reads/public/v1/lookup": {
      "post": {
        "tags": [
          "Reads (Opinions) Lookup"
        ],
        "description": "Retrieves a list of specific reads (opinions) within a task.",
        "security": [
          {
            "bearerAuth": [],
            "ApiKeyAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadsLookupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadsLookup"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "examples": {
                  "missing_task_id": {
                    "value": {
                      "message": "No task_id provided."
                    }
                  },
                  "invalid_task_id": {
                    "value": {
                      "message": "Invalid task_id 'abc'."
                    }
                  },
                  "missing_read_ids": {
                    "value": {
                      "message": "No read_ids provided."
                    }
                  },
                  "invalid_read_ids": {
                    "value": {
                      "message": "Invalid read_ids 'abc'."
                    }
                  },
                  "read_lookup_limit_exceeded": {
                    "value": {
                      "message": "Read lookup limit exceeded. Maximum allowed read_ids is 1000."
                    }
                  },
                  "invalid_verbose_param": {
                    "value": {
                      "message": "Verbose parameter must be true or false."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "text/plain": {
                "example": "Internal Server Error."
              }
            }
          }
        }
      }
    }
  }
}
```