Response Objects
Use these focused response object pages to inspect Python SDK return values, public attributes, and helper methods.
Use the following pages for response object fields, serialization helpers, and examples.
All public SDK response wrappers provide model_dump() and model_dump_json() as Pydantic models. They also provide to_dict(), to_json(), and to_str() for compatibility with earlier SDK response handling.
QueryResponse, paged collection responses, and VectorCollectionResponse are directly iterable. Iteration yields the same items exposed by response.items; pagination metadata remains available on the response object.
Iterate Any Attribute
Use the response serialization helper to inspect each public attribute without hard-coding field names.
payload = response.to_dict()
for attribute, value in payload.items():
print(attribute, value)
- DeleteVectorsResponse
- DropIndexResponse
- DropModelResponse
- DropVectorTableResponse
- IndexDescriptionResponse
- IndexDetailsResponse
- ModelResponse
- ModelCollectionResponse
- QueryResponse
- QueryResultItem
- RerankResponse
- RerankResultItem
- DatabaseSummaryResponse
- UpsertVectorsResponse
- JobCollectionResponse
- JobResponse
- JobLogResponse
- VectorTableCollectionResponse
- VectorTableResponse
- VectorCollectionResponse
- EmbeddingResponse