{
  "opencollection": "1.0.0",
  "info": {
    "name": "Crowdbotics API Documentation admin artifacts API",
    "version": "1.26.2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "artifacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List artifacts for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/projects/:project_id/artifacts",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-based)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of items per page"
              }
            ]
          },
          "docs": "Retrieve a list of artifacts associated with a specific project with pagination"
        },
        {
          "info": {
            "name": "Create an artifact from a source entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/projects/:project_id/artifacts",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate and export an artifact (e.g., PDF) from a source entity like a conversation. The export runs asynchronously in the background."
        },
        {
          "info": {
            "name": "Get a single artifact by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/projects/:project_id/artifacts/:artifact_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "artifact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a specific artifact with its full content"
        },
        {
          "info": {
            "name": "Update an artifact by ID",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "/api/projects/:project_id/artifacts/:artifact_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "artifact_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update specific fields of an artifact associated with a project"
        },
        {
          "info": {
            "name": "Delete an artifact by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/projects/:project_id/artifacts/:artifact_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "artifact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a specific artifact associated with a project"
        }
      ]
    }
  ],
  "bundled": true
}