1. Cron
AiQ Cortex
  • Invitations
    • List organization invitations
      GET
    • Create invitation
      POST
    • Revoke invitation
      DELETE
    • Validate invitation token
      GET
    • Resend invitation
      POST
    • Accept invitation
      POST
  • Notifications
    • List notifications
      GET
    • Mark all notifications as read
      PUT
    • Mark notification as read
      PUT
  • Organizations
    • List organizations
      GET
    • Get organization details
      GET
    • Update organization
      PUT
    • Get organization usage
      GET
    • List organization users
      GET
  • Projects
    • List projects
      GET
    • Get project details
      GET
    • Update project
      PUT
    • Get project configuration
      GET
  • Requests
    • Get request details
      GET
    • Update request
      PUT
    • List project requests
      GET
    • Create request
      POST
    • delete-requests-{id}-interview-reset
      DELETE
    • Assign user to request
      POST
  • 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
      GET
  • 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
  1. Cron

GET /api/cron/poll-agents

GET
/cron/poll-agents

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟠400Bad Request
application/json
Bad Request - Invalid request parameters or body
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/cron/poll-agents' \
--header 'Authorization: Bearer <token>'
Response Response Example
400 - Example 1
{
    "error": "Invalid request parameters",
    "code": "400",
    "details": {
        "property1": "string",
        "property2": "string"
    }
}
Modified at 2026-02-04 21:21:41
Previous
Replace all labels on request
Next
Reset development session (Admin only)
Built with