---
title: "List agent credential metadata"
method: GET
path: "/v1/agent-secrets"
tags: ["Secrets"]
---

# List agent credential metadata

`GET /v1/agent-secrets`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/agent-secrets`
- Auth: HTTP bearer

## Query parameters

- `scope` 'all' | 'agents' | 'project' | 'conversation'
- `organization_id` string, uuid
- `project_id` string, uuid
- `conversation_id` string

## Response `200`

Default Response

- object
  - `data` object[], required
    - `id` string, uuid, required: UUIDv7, lowercase canonical form.
    - `organization_id` string, uuid, required: UUIDv7, lowercase canonical form.
    - `project_id` string, uuid, nullable, required: UUIDv7, lowercase canonical form.
    - `conversation_id` string, nullable, required
    - `user_id` string, uuid, nullable, required: UUIDv7, lowercase canonical form.
    - `scope` 'agents' | 'project' | 'conversation', required
    - `name` string, required
    - `description` string, required
    - `current_version` integer, required
    - `created_at` string, date-time, required: RFC 3339 UTC timestamp with Z.
    - `updated_at` string, date-time, required: RFC 3339 UTC timestamp with Z.
    - `last_used_at` string, date-time, nullable, required: RFC 3339 UTC timestamp with Z.

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
