Projects

Updates a project's name and/or settings. Renaming never changes the slug, and the slug cannot be changed via the API (only from the dashboard). Use id or slug as stable references.

patch/v1/projects/{projectSlug}

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

Request body

namestring

New human-readable name. Renaming never changes the slug.

Response

Updated project

idstring required

Stable project identifier (CUID2).

organizationIdstring required

Organization that owns this project.

namestring required

Human-readable name.

slugstring required

URL-safe slug. Set from name at creation; renaming never changes it. It can only be changed from the dashboard, not via the API.

firstTraceAtstring nullable required

ISO-8601 timestamp of the first ingested trace. null until the first trace lands.

deletedAtstring nullable required

ISO-8601 timestamp at which the project was deleted. null while the project is active.

lastEditedAtstring required

ISO-8601 timestamp of the most recent name/settings edit.

createdAtstring required

ISO-8601 timestamp of creation.

updatedAtstring required

ISO-8601 timestamp of the last metadata change.

Changes

    • info

      added the new optional request property /

    • breaking

      removed the enum value crypto_wallet of the request property ///

    • info

      removed the crypto_wallet enum value from the /// response property for the response status