---
title: "Register files in the session's artifact directory as its deliverables"
method: POST
path: "/api/v1/sessions/{sessionId}/artifact-registrations"
tags: ["sessions"]
---

# Register files in the session's artifact directory as its deliverables

`POST /api/v1/sessions/{sessionId}/artifact-registrations`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/sessions/{sessionId}/artifact-registrations`
- Auth: none declared
- TypeScript: <https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/docs/api/v1/sessions/:sessionId/artifact-registrations/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `sessionId` string, required: Session identifier, e.g. project-1.

## Request body

- RegisterArtifactsRequest
  - `paths` string[], required: Files or bundle directories in the session's artifact directory: absolute paths, or paths relative to it.

## Response `200`

OK

- RegisterArtifactsResponse
  - `otherFiles` integer, required: How many of the session's files are not registered.
  - `otherRootFiles` string[], required: The unregistered files at the root of the artifact directory.
  - `registered` string[], required: The requested paths, relative to the artifact directory.

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `501`: Not Implemented

## Changes

- **2026-11-10** `d26b3a62f688`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/sessions/:sessionId/artifact-registrations/post.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) - [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) - [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/0b14cb5c8e01?raw)
