Crevio · Schema

AiTask

Business FormationWebsite BuilderPaymentsCRM

Properties

Name Type Description
id string
object string
name string
description stringnull
kind string
prompt stringnull
success_criteria stringnull
trigger_type string
cron_expression stringnull
interval_seconds integernull
scheduled_at stringnull
event_conditions objectnull
condition_script stringnull
pre_run_script stringnull
script stringnull
timezone string
delivery_methods array
approval_mode string
model_id stringnull
agent string
visibility string
active boolean
expires_at stringnull
next_run_at stringnull
last_run_at stringnull
total_runs_count integer
consecutive_failure_count integer
total_credits_consumed integer
created_at string
updated_at string
max_runs_per_day integernull Event tasks: the most event-started runs per day (account time zone); later events are skipped as `rate_limited`.
min_interval_seconds integernull Event tasks: the cooldown after an event-started run; events inside it are skipped as `rate_limited`.
slack_sender_name stringnull The name Slack shows on this task's posted results. Null posts as the task's bot, else Crevio.
site_id stringnull
source string How the task came to exist: `user` (a person made it in the dashboard), `agent` (the agent made it inside the chat `origin_chat_id`, whose person is `created_by_id`), or `system` (a built-in task).
created_by_id stringnull The person (`user_...`) who made the task or asked for it. Null for built-in tasks.
created_by_name stringnull
origin_chat_id stringnull The chat (`aichat_...`) the task was set up in. A member's chat opens only for that member.
recent_runs array The task's newest executed runs (at most 5, newest first; skipped and test runs excluded).
View JSON Schema on GitHub

JSON Schema

crevio-co-ai-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-ai-task-schema.json",
  "title": "AiTask",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-openapi.json#/components/schemas/AiTask",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "agent",
        "script"
      ]
    },
    "prompt": {
      "type": [
        "string",
        "null"
      ]
    },
    "success_criteria": {
      "type": [
        "string",
        "null"
      ]
    },
    "trigger_type": {
      "type": "string",
      "enum": [
        "immediate",
        "cron",
        "interval",
        "once",
        "event"
      ]
    },
    "cron_expression": {
      "type": [
        "string",
        "null"
      ]
    },
    "interval_seconds": {
      "type": [
        "integer",
        "null"
      ]
    },
    "scheduled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "event_conditions": {
      "type": [
        "object",
        "null"
      ]
    },
    "condition_script": {
      "type": [
        "string",
        "null"
      ]
    },
    "pre_run_script": {
      "type": [
        "string",
        "null"
      ]
    },
    "script": {
      "type": [
        "string",
        "null"
      ]
    },
    "timezone": {
      "type": "string"
    },
    "delivery_methods": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "notification",
          "email",
          "telegram",
          "discord",
          "slack"
        ]
      }
    },
    "approval_mode": {
      "type": "string",
      "enum": [
        "autonomous",
        "supervised",
        "read_only"
      ]
    },
    "model_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "agent": {
      "type": "string",
      "enum": [
        "business",
        "engineering"
      ]
    },
    "visibility": {
      "type": "string",
      "enum": [
        "account",
        "personal"
      ]
    },
    "active": {
      "type": "boolean"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "next_run_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_run_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "total_runs_count": {
      "type": "integer"
    },
    "consecutive_failure_count": {
      "type": "integer"
    },
    "total_credits_consumed": {
      "type": "integer"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "max_runs_per_day": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Event tasks: the most event-started runs per day (account time zone); later events are skipped as `rate_limited`."
    },
    "min_interval_seconds": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Event tasks: the cooldown after an event-started run; events inside it are skipped as `rate_limited`."
    },
    "slack_sender_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name Slack shows on this task's posted results. Null posts as the task's bot, else Crevio."
    },
    "site_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "string",
      "description": "How the task came to exist: `user` (a person made it in the dashboard), `agent` (the agent made it inside the chat `origin_chat_id`, whose person is `created_by_id`), or `system` (a built-in task).",
      "enum": [
        "user",
        "agent",
        "system"
      ]
    },
    "created_by_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The person (`user_...`) who made the task or asked for it. Null for built-in tasks."
    },
    "created_by_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "origin_chat_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The chat (`aichat_...`) the task was set up in. A member's chat opens only for that member."
    },
    "recent_runs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AiTaskRunSummary"
      },
      "description": "The task's newest executed runs (at most 5, newest first; skipped and test runs excluded)."
    }
  },
  "required": [
    "id",
    "object",
    "name",
    "description",
    "kind",
    "prompt",
    "success_criteria",
    "trigger_type",
    "cron_expression",
    "interval_seconds",
    "scheduled_at",
    "event_conditions",
    "condition_script",
    "pre_run_script",
    "script",
    "timezone",
    "delivery_methods",
    "approval_mode",
    "model_id",
    "agent",
    "visibility",
    "active",
    "expires_at",
    "next_run_at",
    "last_run_at",
    "total_runs_count",
    "consecutive_failure_count",
    "total_credits_consumed",
    "created_at",
    "updated_at",
    "max_runs_per_day",
    "min_interval_seconds",
    "slack_sender_name",
    "site_id",
    "source",
    "created_by_id",
    "created_by_name",
    "origin_chat_id",
    "recent_runs"
  ],
  "$defs": {
    "AiTaskRunSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "running",
            "completed",
            "failed",
            "needs_input",
            "timed_out",
            "unknown",
            "skipped",
            "cancelled"
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        },
        "chat_id": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "status",
        "created_at",
        "completed_at",
        "error_message",
        "chat_id"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/crevio-co-ai-task"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.