---
title: "Approve a spending limit for one agent or member in a project"
method: POST
path: "/v1/capacity/authorities"
---

# Approve a spending limit for one agent or member in a project

`POST /v1/capacity/authorities`

## Request

- Base URL: `https://api.specstream.ai`
- URL: `https://api.specstream.ai/v1/capacity/authorities`
- Auth: API key in header `Authorization`

## Request body

- CapacityAuthorityRequest
  - `actor_key` string, required
  - `project_id` string, nullable
  - `operations` string[], required
  - `scope_hash` string, nullable
  - `quote_id` string, nullable
  - `per_run_cents` integer, required
  - `period_cents` integer, required
  - `valid_until` string, date-time, required

## Response `201`

Approve a spending limit for one agent or member in a project

- object
  - `data` object, required

## Other responses

- `default`: Error envelope

---

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