GET
/
v1
/
orgs
/
{org_id}
/
workspaces
/
{workspace_id}
/
deployments
/
{deployment_id}
/
cohorts
/
{cohort_id}
/
files
Download Cohort File
curl --request GET \
  --url https://apps.sarvam.ai/api/scheduling/v1/orgs/{org_id}/workspaces/{workspace_id}/deployments/{deployment_id}/cohorts/{cohort_id}/files \
  --header 'X-API-Key: <api-key>'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

org_id
string
required
workspace_id
string
required
deployment_id
string
required
cohort_id
string
required

Query Parameters

file_type
enum<string>
required

Type of cohort file to download.

Available options:
cohort,
rejected_records,
cohort_transformation

Response

Successful Response