Skip to main content

Upsert Project

PUT 

/api/v1/projects

Upsert a project. Updates if a project with the same name already exists. Otherwise, creates a new project.

Request

Query Parameters

    organization_id any

Cookie Parameters

    session any

Body

required

    name Name (string)required

    Possible values: non-empty and <= 3000 characters

Responses

Successful Response

Schema

    name Name (string)required

    Possible values: non-empty and <= 3000 characters

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    ad_hoc_eval_dataset_id

    object

    anyOf

    string

    organization_id uuidrequired

    The Organization ID the project is under.

    is_default Is Default (boolean)

    Whether this project is the default project for the user.

    Default value: false