Skip to main content
POST
/
ai-brief-schedules
Create AI brief schedule
curl --request POST \
  --url https://core.ravenna.ai/api/ai-brief-schedules \
  --header 'Content-Type: application/json' \
  --header 'x-ravenna-api-token: <api-key>' \
  --data '{
  "dashboardId": "<string>",
  "cadence": "daily",
  "slackChannelIds": [
    "<string>"
  ],
  "time": "<string>",
  "day": 15,
  "userId": "<string>"
}'
{
  "id": "<string>",
  "dashboardId": "<string>",
  "workspaceId": "<string>",
  "organizationId": "<string>",
  "userId": "<string>",
  "cadence": "daily",
  "slackChannelIds": [
    "<string>"
  ],
  "time": "<string>",
  "day": 123,
  "scheduleId": "<string>",
  "isActive": true,
  "lastRunAt": "<string>",
  "nextScheduledAt": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

x-ravenna-api-token
string
header
required

Body

application/json
dashboardId
string
required
cadence
enum<string>
required
Available options:
daily,
weekly,
monthly
slackChannelIds
string[]
required
Minimum length: 1
time
string
required
day
integer
Required range: 0 <= x <= 31
userId
string

Response

Successful response

id
string
required
dashboardId
string
required
workspaceId
string
required
organizationId
string
required
userId
string | null
required
cadence
enum<string>
required
Available options:
daily,
weekly,
monthly
slackChannelIds
string[]
required
time
string
required
day
number | null
required
scheduleId
string | null
required
isActive
boolean
required
lastRunAt
string | null
required
nextScheduledAt
string | null
required
createdAt
string
required
updatedAt
string
required