Skip to main content
PATCH
/
projects
/
{projectId}
Update a project's name / budget cap
curl --request PATCH \
  --url https://origami.chat/api/v2/projects/{projectId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "monthlyCredits": 2
}
'
{
  "object": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "monthlyCredits": 123,
  "usage": {
    "spent": 123,
    "reserved": 123
  },
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

The project (child org) id.

Body

application/json
name
string
Required string length: 1 - 80
monthlyCredits
integer | null

Number sets the cap, explicit null clears it, omitted leaves it alone.

Required range: x >= 1

Response

The updated project.

A project is a child org under the parent (agency) org — a customer's own isolated set of workspaces/tables while credits and the concurrency pool stay shared at the parent. Select it on any non-/projects request via the x-origami-project header.

object
string
required
Allowed value: "project"
id
string<uuid>
required
name
string
required
monthlyCredits
number | null
required

Monthly budget cap in credits, or null when uncapped.

usage
object
required

This billing period's settled spend plus live in-flight reservations attributed to the project, in credits — the same numbers the in-app Teams page shows.

createdAt
string<date-time>
required