GET
/
{resourceSlug}
/
tasks.json
curl --request GET \
  --url https://app.agentcloud.dev/{resourceSlug}/tasks.json
[
  {
    "_id": "<string>",
    "orgId": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "agentId": "<string>",
    "expectedOutput": "<string>",
    "toolIds": [
      "<string>"
    ],
    "asyncExecution": true,
    "context": [
      "<string>"
    ],
    "outputJson": {},
    "outputPydantic": {},
    "outputFile": "<string>",
    "icon": {
      "id": {},
      "filename": "<string>"
    },
    "requiresHumanInput": true,
    "displayOnlyFinalOutput": true,
    "hidden": true,
    "formFields": [
      {
        "position": "<string>",
        "type": "string",
        "name": "<string>",
        "label": "<string>",
        "description": "<string>",
        "required": true,
        "options": [
          "<string>"
        ],
        "tooltip": "<string>"
      }
    ],
    "isStructuredOutput": true
  }
]

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId

Response

200
tasks.json

JSON object containing an array of all the tasks associated tasks with that teamId, will return an empty array if the request is successful but there are no associated tasks.

The response is of type object[].