{
  "_type": "export",
  "__export_format": 4,
  "__export_date": "2026-09-05T19:51:39.337Z",
  "__export_source": "honeybase.docs-site:generate-api-collections",
  "resources": [
    {
      "_id": "wrk_honeybase",
      "_type": "workspace",
      "parentId": null,
      "name": "Honeybase GraphQL API",
      "description": "Example requests against the Honeybase GraphQL API. Set apiKey in the environment to your hbk_... key. Docs: https://docs.honeybase.ai/api/",
      "scope": "collection"
    },
    {
      "_id": "env_honeybase_base",
      "_type": "environment",
      "parentId": "wrk_honeybase",
      "name": "Base Environment",
      "data": {
        "baseUrl": "https://app.honeybase.ai",
        "apiKey": ""
      },
      "dataPropertyOrder": {
        "&": [
          "baseUrl",
          "apiKey"
        ]
      },
      "metaSortKey": 1
    },
    {
      "_id": "fld_honeybase_graphql",
      "_type": "request_group",
      "parentId": "wrk_honeybase",
      "name": "GraphQL",
      "description": "All operations share the single /api/graphql endpoint.",
      "metaSortKey": -1
    },
    {
      "_id": "req_list-open-tasks",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "List open tasks",
      "description": "All tasks that are not yet completed, newest work surface. Mirrors the first example in docs/api/examples.md.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query {\\n  tasks {\\n    listTasks(includeCompleted: false) {\\n      taskId\\n      name\\n      priority\\n      dueDate\\n      assignedTo\\n    }\\n  }\\n}\",\n  \"variables\": {}\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899337,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_get-a-task-by-id",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "Get a task by id",
      "description": "By-id getters dual-accept taskId OR publicId — pass exactly one. See docs/api/conventions.md.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query($taskId: Long!) {\\n  tasks {\\n    getTask(taskId: $taskId) {\\n      taskId\\n      publicId\\n      name\\n      priority\\n      dueDate\\n      assignedTo\\n      metadata\\n    }\\n  }\\n}\",\n  \"variables\": {\n    \"taskId\": 42\n  }\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899338,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_create-a-task",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "Create a task",
      "description": "Requires canManageTasks. Assign to a specific user via userId, or omit it and let the team’s assignment rules pick someone.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"mutation($n: String!, $d: LocalDate!, $u: Long) {\\n  tasks {\\n    createTaskWithAssignment(name: $n, dueDate: $d, priority: \\\"Medium\\\", userId: $u) {\\n      taskId\\n      publicId\\n    }\\n  }\\n}\",\n  \"variables\": {\n    \"n\": \"Follow up with ACME\",\n    \"d\": \"2026-08-01\",\n    \"u\": 12\n  }\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899339,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_update-task-metadata-jsonstring",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "Update task metadata (JsonString)",
      "description": "metadata is a JsonString: a STRING containing JSON, so it is escaped twice on the way in. See docs/api/conventions.md.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"mutation($taskId: Long!, $m: String!) {\\n  tasks {\\n    updateTaskMetadata(taskId: $taskId, metadata: $m) {\\n      taskId\\n    }\\n  }\\n}\",\n  \"variables\": {\n    \"taskId\": 42,\n    \"m\": \"{\\\"source\\\":\\\"crm\\\",\\\"externalId\\\":\\\"A-119\\\"}\"\n  }\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899340,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_list-process-runs",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "List process runs",
      "description": "Page through a process’s run history, newest first. See docs/api/pagination.md for why the page size is small.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query {\\n  processes {\\n    listProcessRuns(processId: 5, limit: 10, offset: 0) {\\n      runWorkflowId\\n      phase\\n      startedAt\\n    }\\n  }\\n}\",\n  \"variables\": {}\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899341,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_list-members",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "List members",
      "description": "Who can be assigned work: the organization’s members.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query {\\n  users {\\n    listMembers {\\n      webUserId\\n      firstName\\n      lastName\\n      email\\n    }\\n  }\\n}\",\n  \"variables\": {}\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899342,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_list-teams",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "List teams",
      "description": "Teams in the organization.",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query {\\n  teams {\\n    listTeams {\\n      teamId\\n      name\\n      color\\n    }\\n  }\\n}\",\n  \"variables\": {}\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899343,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    },
    {
      "_id": "req_list-schedules",
      "_type": "request",
      "parentId": "fld_honeybase_graphql",
      "name": "List schedules",
      "description": "Job schedules in a date window. from/to are required LocalDate bounds (YYYY-MM-DD).",
      "method": "POST",
      "url": "{{ _.baseUrl }}/api/graphql",
      "body": {
        "mimeType": "application/graphql",
        "text": "{\n  \"query\": \"query($from: String!, $to: String!) {\\n  schedules {\\n    listSchedules(from: $from, to: $to) {\\n      jobScheduleId\\n      name\\n      webUserId\\n    }\\n  }\\n}\",\n  \"variables\": {\n    \"from\": \"2026-08-01\",\n    \"to\": \"2026-08-31\"\n  }\n}"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.apiKey }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "metaSortKey": 1788637899344,
      "settingEncodeUrl": true,
      "settingSendCookies": true,
      "settingStoreCookies": true
    }
  ]
}
