---
title: "Sign Agent Mount Credentials"
method: POST
path: "/mounts/agents/sign"
tags: ["Mounts"]
---

# Sign Agent Mount Credentials

`POST /mounts/agents/sign`

## Query parameters

- `artifact_id` string, required
- `name` string

## Response `200`

Successful Response

- MountCredentialsResponse
  - `count` integer
  - `mount` Mount
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `created_by_id` string, uuid, nullable
    - `updated_by_id` string, uuid, nullable
    - `deleted_by_id` string, uuid, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `slug` string, nullable
    - `id` string, uuid, nullable
    - `project_id` string, uuid, required
    - `session_id` string, nullable
    - `agent_id` string, nullable
    - `purpose` string, nullable
    - `data` MountData
    - `flags` MountFlags
    - `tags` object, nullable
    - `meta` object, nullable
  - `credentials` MountCredentials — Short-lived, prefix-scoped credentials for a single mount. Signed API-side from the store's STS endpoint; the master key never leaves the API. Scoped to `<bucket>/<project_id>/<mount_id>/*` and expires within minutes, so a leak grants only this mount's prefix for a short window.
    - `endpoint` string, nullable
    - `region` string
    - `bucket` string, required
    - `prefix` string, required
    - `access_key` string, required
    - `secret_key` string, required
    - `session_token` string, nullable
    - `expires_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/d43a05d98a9b/schema)
