Skip to navigation

Get a project

Returns one project with its routing defaults. webhook_secret is never included.

Scope: admin.

Authentication

AuthorizationBearer

A Meadow API key, sent as Authorization: Bearer mdw_.... The header x-api-key: mdw_... is accepted in its place.

Path parameters

project_idstringRequired

The project id.

Response headers

x-request-idstringOptional

Meadow’s id for this request, req_ and 24 hex characters. Every response carries it, including errors, streams and unknown routes. Every error in the Error schema repeats it as request_id. Quote it when you report a problem.

Response

The project.
namestring
A name for people. Required on create. Must not be empty. It need not be unique.
idstring
The project id.
restrictedboolean

When true, a member or viewer sees the project only after addProjectMember. Owners, admins and keys are not affected.

created_atdatetime
When the project was created.
webhook_urlstring or nullOptionalformat: "uri"

Where to send sandbox events for sandboxes that set no webhook_url of their own. Must be https and resolve to a public address. null removes it.

max_sandboxesinteger or nullOptional>=0

The most sandboxes of this project that may be alive at once, whichever key made them. Null or left out means no cap. It counts the same states as max_sandboxes on a key, and a create past it returns 403 project_sandbox_limit_exceeded. While a project has a cap, its sandbox creates are admitted one at a time, which is a few database statements each. It counts sandboxes, not dollars.

routingobjectOptional
Defaults for every request made with this project's keys. On update it is replaced as a whole.
webhook_secretstringOptional

The secret that signs webhook deliveries, starting with whsec_. Returned on create and when rotate_webhook_secret is true. Absent otherwise.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error