Events
Datapoints
Datasets
Projects
Experiments
Projects
Create a new project
POST
/
projects
Copy
import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.projects.create_project(request=components.CreateProjectRequest(
name='<value>',
))
if res.project is not None:
# handle response
pass
Copy
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200 - application/json
The created project
The response is of type object
.
Was this page helpful?
Copy
import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.projects.create_project(request=components.CreateProjectRequest(
name='<value>',
))
if res.project is not None:
# handle response
pass
Copy
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.