Projects API

Complete API reference for managing projects programmatically via REST endpoints.

Overview

The Projects API allows you to create, update, and manage projects programmatically. All endpoints require authentication via API key.

Base URL: https://cencori.com/api

List Projects

Get all projects in your organization.

Request

request

Response

response.json

Example

list-projects.ts

Create Project

Create a new project in your organization.

Request

request

Parameters

FieldTypeRequiredDescription
namestringProject name
descriptionstringProject description
visibilitystringpublic or private (default: public)

Example

create-project.ts

Get Project

Retrieve details for a specific project.

Request

request

Response

response.json

Update Project

Update an existing project.

Request

request

Example

update-project.ts

Delete Project

Permanently delete a project and all associated data.

Request

request

Warning: This action is irreversible. All API keys, logs, and analytics for this project will be permanently deleted.

Error Responses

StatusErrorDescription
400Invalid RequestMissing or invalid parameters
401UnauthorizedInvalid API key
403ForbiddenNo permission to access project
404Not FoundProject doesn't exist
409ConflictProject with same name exists