---
title: "POST /tracer/shared-links/"
method: POST
path: "/tracer/shared-links/"
tags: ["tracer"]
---

# POST /tracer/shared-links/

`POST /tracer/shared-links/`

## Request

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

CRUD for shared links. Requires authentication.

## Request body

- SharedLinkCreate
  - `resource_type` 'trace' | 'dashboard' | 'project' | 'call_execution', required
  - `resource_id` string, required
  - `access_type` 'public' | 'restricted'
  - `expires_at` string, date-time, nullable
  - `emails` string[]: Emails to grant access to (for restricted links).

## Response `201`

Created

- SharedLinkCreate
  - `resource_type` 'trace' | 'dashboard' | 'project' | 'call_execution', required
  - `resource_id` string, required
  - `access_type` 'public' | 'restricted'
  - `expires_at` string, date-time, nullable
  - `emails` string[]: Emails to grant access to (for restricted links).

## 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)
