Create project
const url = 'https://localhost:10001/api/v1/organizations/example/projects';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"description":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://localhost:10001/api/v1/organizations/example/projects \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "description": "example", "name": "example" }'Create a new project under an organization and add the creating user as project owner
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Organization ID or UUID (urn:uuid optional)
Request Body
Section titled “Request Body ”Project data
object
Example generated
{ "description": "example", "name": "example"}Responses
Section titled “ Responses ”Created project
An AI initiative within an organization, and the scope most access is granted against
object
Set via the archive endpoint
Set via the archive endpoint
Taken from the path on create
Derived from name
Urn:uuid form
Example generated
{ "description": "example", "name": "example"}Bad request - Invalid organization ID or request body
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Forbidden - No organization access or insufficient permissions
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Organization not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Name or URL already taken in this organization
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}