---
title: "POST /runtime-authority"
method: POST
path: "/runtime-authority"
tags: ["General"]
---

# POST /runtime-authority

`POST /runtime-authority`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/runtime-authority`
- Auth: none declared

## Request body

- RuntimeAuthorityCommand
  - `agent-id` string, required: Agent identifier for auditing
  - `json` boolean: Set output format to JSON
  - `name` string, required: Secret name (dynamic secret or rotated secret)
  - `original-prompt` string: Original natural-language prompt from the user (optional, for auditing)
  - `original-user` string: Human end-user behind the agent (optional, for auditing)
  - `payload` string, required: Query or action payload (SQL, natural language, or CLI-style)
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

- integer[]: It implements [Marshaler] and [Unmarshaler] and can be used to delay JSON decoding or precompute a JSON encoding.

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/account-settings.md) - [All operations](https://skmtc.dev/akeyless/apis/account-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/account-settings/revisions/6beb28d274ac?raw)
