---
title: "Distinct span_attributes keys for a project (spans surface)."
method: GET
path: "/tracer/observation-span/get_span_attributes_list/"
tags: ["tracer"]
---

# Distinct span_attributes keys for a project (spans surface).

`GET /tracer/observation-span/get_span_attributes_list/`

## Request

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

Query params:
    filters: JSON {"project_id": "<uuid>"} (required)

## Query parameters

- `page` integer
- `limit` integer
- `filters` string, required
- `row_type` 'spans' | 'traces' | 'sessions' | 'voiceCalls'
- `q` string

## Response `200`

OK

- ObservationAttributeListResponse
  - `status` boolean
  - `result` string[], required
  - `query_complete` boolean
  - `query_status` 'complete' | 'sampled' | 'degraded'
  - `query_error_code` 'sample_limit' | 'read_budget_exceeded' | 'query_failed'
  - `query_window_start` string, date-time
  - `query_window_end` string, date-time

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable
- `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)
