{
  "opencollection": "1.0.0",
  "info": {
    "name": "PostHog actions data_modeling_jobs API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "data_modeling_jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "environments_data_modeling_jobs_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/data_modeling_jobs/",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "saved_query_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List data modeling jobs which are \"runs\" for our saved queries."
        },
        {
          "info": {
            "name": "environments_data_modeling_jobs_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/data_modeling_jobs/:id/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this data modeling job."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List data modeling jobs which are \"runs\" for our saved queries."
        },
        {
          "info": {
            "name": "environments_data_modeling_jobs_recent_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/data_modeling_jobs/recent/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              }
            ]
          },
          "docs": "Get the most recent non-running job for each saved query from the v2 backend."
        },
        {
          "info": {
            "name": "environments_data_modeling_jobs_running_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/data_modeling_jobs/running/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              }
            ]
          },
          "docs": "Get all currently running jobs from the v2 backend."
        },
        {
          "info": {
            "name": "data_modeling_jobs_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/data_modeling_jobs/",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "saved_query_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List data modeling jobs which are \"runs\" for our saved queries."
        },
        {
          "info": {
            "name": "data_modeling_jobs_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/data_modeling_jobs/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this data modeling job."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List data modeling jobs which are \"runs\" for our saved queries."
        },
        {
          "info": {
            "name": "data_modeling_jobs_recent_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/data_modeling_jobs/recent/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ]
          },
          "docs": "Get the most recent non-running job for each saved query from the v2 backend."
        },
        {
          "info": {
            "name": "data_modeling_jobs_running_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/data_modeling_jobs/running/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ]
          },
          "docs": "Get all currently running jobs from the v2 backend."
        }
      ]
    }
  ],
  "bundled": true
}