---
title: "GET /tracer/observation-span/get_observation_span_fields/"
method: GET
path: "/tracer/observation-span/get_observation_span_fields/"
tags: ["tracer"]
---

# GET /tracer/observation-span/get_observation_span_fields/

`GET /tracer/observation-span/get_observation_span_fields/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/tracer/observation-span/get_observation_span_fields/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` ObservationSpan[], required
    - `id` string
    - `project` string, uuid, required
    - `project_version` string, uuid
    - `trace` string, uuid, required
    - `parent_span_id` string, nullable
    - `name` string, required
    - `observation_type` 'tool' | 'chain' | 'llm' | 'retriever' | 'embedding' | 'agent' | 'reranker' | 'unknown' | 'guardrail' | 'evaluator' | 'conversation', required
    - `start_time` string, date-time, nullable
    - `end_time` string, date-time, nullable
    - `input` object, nullable
    - `output` object, nullable
    - `model` string, nullable
    - `model_parameters` object, nullable
    - `latency_ms` integer, nullable
    - `org_id` string, uuid, nullable
    - `org_user_id` string, uuid, nullable
    - `prompt_tokens` integer, nullable
    - `completion_tokens` integer, nullable
    - `total_tokens` integer, nullable
    - `response_time` number, nullable
    - `eval_id` string, nullable
    - `cost` number, nullable
    - `status` 'UNSET' | 'OK' | 'ERROR', nullable
    - `status_message` string, nullable
    - `tags` object, nullable
    - `metadata` object, nullable
    - `span_events` object, nullable
    - `provider` string, nullable
    - `provider_logo` string
    - `span_attributes` string
    - `custom_eval_config` string, uuid, nullable
    - `eval_status` 'NotStarted' | 'Queued' | 'Running' | 'Completed' | 'Editing' | 'Inactive' | 'Failed' | 'PartialRun' | 'ExperimentEvaluation' | 'Uploading' | 'PartialExtracted' | 'Processing' | 'Deleting' | 'PartialCompleted' | 'OptimizationEvaluation' | 'Error' | 'Cancelled', nullable
    - `prompt_version` string, uuid, nullable

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
