Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview

Resolve project by name

Get existing project by name or create new one if not found

POST/v1/projects/resolve/
Authorization
AuthorizationIngest API key · headerrequired

An ingest API key from Settings > Ingest API Keys, sent as Bearer <key>. It belongs to one organization, so no X-Organization-Id is needed.

or
AuthorizationPersonal API key · headerrequired

Your personal API key from Settings > Personal API Keys, sent as Bearer <key>.

X-Organization-IdOrganization ID · headerrequired

The organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.

Request body
requiredapplication/json
project_namestringrequired
Responses
200

Response for status 200

project_idstringrequired
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.judgmentlabs.ai/v1/projects/resolve/' \
  -H 'Authorization: Bearer YOUR_INGEST_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "project_name": "string"
}'
Response
{
  "project_id": "string"
}

Was this page helpful?