---
title: "Get or create session and default production"
method: GET
path: "/api/agents/session"
---

# Get or create session and default production

`GET /api/agents/session`

## Request

- Base URL: `https://splice.film.fun`
- URL: `https://splice.film.fun/api/agents/session`
- Auth: API key in header `x-api-key`

Returns creation_id and production_id for the default production. Creates one if missing. Use before generating when no production_id is set on the key.

## Response `200`

Session with default production

- object
  - `creation_id` string
  - `production_id` string
  - `creation` object

## Other responses

- `401`: Invalid or missing API key

---

[API](https://skmtc.dev/film/apis/film-fun-splice-agent-api.md) · [All operations](https://skmtc.dev/film/apis/film-fun-splice-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/film/apis/film-fun-splice-agent-api/revisions/72c22f361c20?raw)
