Skip to content
gist.link ↗

createProject

Mutation Intelligence API — POST https://intelligence.api.gist.link/graphql

ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER.

intelligence:mutation:createProject

The calling IAM key must hold this permission (or a wildcard that covers it: intelligence:mutation:* or intelligence:*) and the access token must have been minted with audience=intelligence. See Permissions.

type Mutation {
createProject(input: CreateProjectInput!): Project!
}
Argument Type Required Description
input CreateProjectInput! Yes —

Project! — see the Intelligence types reference.

Terminal window
curl https://intelligence.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CreateProject($input: CreateProjectInput!) { createProject(input: $input) { id name created_at updated_at } }",
"variables": {
"input": {
"name": "Example"
}
}
}
JSON