Copy Page
AiQ Cortex
Invitations
List organization invitations
Create invitation
Revoke invitation
Validate invitation token
Resend invitation
Accept invitation
Notifications
List notifications
Mark all notifications as read
Mark notification as read
Organizations
List organizations
Get organization details
Update organization
Get organization usage
List organization users
Projects
List projects
Get project details
Update project
Get project configuration
Requests
Get request details
Update request
List project requests
Create request
delete-requests-{id}-interview-reset
Assign user to request
Requests, Activity
List request activity
Add activity entry
Requests, Development
Cancel development session
Start development session
Get development session status
Stream development session progress
Sync session status from Cursor
Requests, Interview
Get interview conversation
Complete interview
Send interview message
Stream interview response
Requests, Preview
Trigger preview deployment
Get preview deployment info
Get detailed preview deployment status
Requests, Workflow
Get available transitions
Trigger workflow transition
Users
Get current user
Update current user
Profile
GET /api/profile
PATCH /api/profile
Api-keys
GET /api/api-keys
POST /api/api-keys
GET /api/api-keys/[id]
DELETE /api/api-keys/[id]
POST /api/api-keys/[id]/revoke
Admin
get-admin-config
GET /api/admin/connections
POST /api/admin/connections
GET /api/admin/organizations
POST /api/admin/organizations
GET /api/admin/projects
POST /api/admin/projects
get-admin-stats
GET /api/admin/users
POST /api/admin/users
PATCH /api/admin/users
GET /api/admin/connections/[id]
PATCH /api/admin/connections/[id]
DELETE /api/admin/connections/[id]
GET /api/admin/github/authorize
GET /api/admin/organizations/[id]
GET /api/admin/github/callback
PUT /api/admin/organizations/[id]
GET /api/admin/github/orgs
DELETE /api/admin/organizations/[id]
POST /api/admin/github/refresh
GET /api/admin/projects/[id]
GET /api/admin/github/repos
PUT /api/admin/projects/[id]
POST /api/admin/github/repos
DELETE /api/admin/projects/[id]
GET /api/admin/github/status
GET /api/admin/users/[id]
DELETE /api/admin/github/status
PUT /api/admin/users/[id]
DELETE /api/admin/users/[id]
GET /api/admin/connections/[id]/projects
POST /api/admin/connections/[id]/projects
=============================================================================
POST /api/admin/connections/[id]/test
=============================================================================
GET /api/admin/connections/github/authorize
GET /api/admin/connections/github/callback
GET /api/admin/connections/vercel/authorize
GET /api/admin/connections/vercel/callback
GET /api/admin/organizations/[id]/connections
POST /api/admin/organizations/[id]/logo
DELETE /api/admin/organizations/[id]/logo
GET /api/admin/projects/[id]/connections
=============================================================================
DELETE /api/admin/connections/[id]/projects/[projectId]
POST /api/admin/projects/[id]/config/sync
Labels
List labels for organization
Create label
Get label details
Update label
Delete label
Requests, Comments
List request comments
Create comment
Get single comment
Update comment
Delete comment
Requests, Labels
List labels on request
Add label to request
Remove label from request
Replace all labels on request
Cron
GET /api/cron/poll-agents
Requests, Development, Admin
Reset development session (Admin only)
Webhooks
=============================================================================
Requests, PR
Create pull request for a request
Check PR status and update request if merged/closed
Schemas
IdPathParamSchema
400
RevokeInvitationResponseSchema
401
ResendInvitationResponseSchema
InvitationsQuerySchema
403
InvitationsResponseSchema
404
CreateInvitationBodySchema
409
InvitationResponseSchema
500
TokenPathParamSchema
InvitationAcceptResponseSchema
InvitationValidationResponseSchema
NotificationResponseSchema
MarkAllNotificationsReadResponseSchema
NotificationsQuerySchema
NotificationsResponseSchema
OrganizationResponseSchema
UpdateOrganizationBodySchema
UsageStatsResponseSchema
PaginationQuerySchema
OrganizationUsersResponseSchema
OrganizationsResponseSchema
ProjectConfigResponseSchema
RequestQuerySchema
RequestsResponseSchema
CreateRequestBodySchema
RequestResponseSchema
ProjectResponseSchema
UpdateProjectBodySchema
ProjectsQuerySchema
ProjectsResponseSchema
ActivityQuerySchema
ActivitiesResponseSchema
CreateActivityBodySchema
ActivityResponseSchema
AvailableTransitionsResponseSchema
CancelDevelopmentResponseSchema
StartDevelopmentResponseSchema
DevelopmentSessionStatusResponseSchema
text/event-stream
InterviewCompleteResponseSchema
InterviewMessageBodySchema
InterviewMessageResponseSchema
InterviewResponseSchema
InterviewStreamQuerySchema
StartPreviewResponseSchema
PreviewInfoResponseSchema
PreviewDetailedStatusResponseSchema
UpdateRequestBodySchema
TransitionBodySchema
TransitionResponseSchema
CurrentUserResponseSchema
UpdateUserProfileBodySchema
messageSchema
ApiMetaSchema
OrganizationSchema
UserProfileSchema
ProjectConfigSchema
ProjectSchema
RequestTypeEnum
RequestPriorityEnum
RequestStatusEnum
RequestSchema
WorkflowActionEnum
TransitionPayloadSchema
LabelSchema
createInvitationSchema
createApiKeySchema
createOrganizationSchema
CreateLabelBodySchema
ActivityTypeEnum
updateUserSchema
linkProjectSchema
UpdateLabelBodySchema
ActivitySchema
updateConnectionSchema
CommentSchema
NotificationSchema
listConnectionsSchema
CreateCommentBodySchema
InvitationRoleEnum
createConnectionSchema
UpdateCommentBodySchema
InvitationStatusEnum
refreshSchema
AddLabelBodySchema
InvitationSchema
fetchReposSchema
SetLabelsBodySchema
InterviewMessageSchema
RequestLabelsResponseSchema
DevelopmentSessionStatusEnum
AssignRequestBodySchema
DevelopmentStatusSchema
AssignmentResponseSchema
UsagePeriodSchema
createProjectSchema
UsageLimitsSchema
UsageStatsSchema
inviteUserSchema
vercelConfigSchema
OrganizationUserSchema
updateConfigSchema
PreviewDeploymentStatusEnum
testSchema
projectSchema
updateOrganizationSchema
ApiKeyStatusEnum
ProjectFormData
updateUserProfileSchema
ApiKeySchema
inviteSchema
updateProjectSchema
ApiKeysResponseSchema
createRequestSchema
CreateApiKeyBodySchema
updateRequestSchema
ApiKeyCreatedSchema
createActivitySchema
ApiKeyCreatedResponseSchema
workflowAction
RevokeApiKeyResponseSchema
transitionRequestSchema
DeleteApiKeyResponseSchema
apiKeyStatus
apiKeyResponseSchema
apiKeyCreatedResponseSchema
RequestIdPathParamSchema
LabelIdPathParamSchema
CommentIdPathParamSchema
hexColorSchema
createLabelSchema
updateLabelSchema
createCommentSchema
updateCommentSchema
addLabelSchema
setLabelsSchema
assignRequestSchema
ActivityTypeEnum
Copy Page
Type of activity event
"request_created"