## List Classify Jobs

`JobListPageResponse Classifier.Jobs.List(JobListParams?parameters, CancellationTokencancellationToken = default)`

**get** `/api/v1/classifier/jobs`

List classify jobs. Experimental: not production-ready and subject to change.

### Parameters

- `JobListParams parameters`

  - `string? organizationID`

  - `Long? pageSize`

  - `string? pageToken`

  - `string? projectID`

### Returns

- `class JobListPageResponse:`

  - `required IReadOnlyList<ClassifyJob> Items`

    The list of items.

    - `required string ID`

      Unique identifier

    - `required string ProjectID`

      The ID of the project

    - `required IReadOnlyList<ClassifierRule> Rules`

      The rules to classify the files

      - `required string Description`

        Natural language description of what to classify. Be specific about the content characteristics that identify this document type.

      - `required string Type`

        The document type to assign when this rule matches (e.g., 'invoice', 'receipt', 'contract')

    - `required StatusEnum Status`

      The status of the classify job

      - `"CANCELLED"Cancelled`

      - `"ERROR"Error`

      - `"PARTIAL_SUCCESS"PartialSuccess`

      - `"PENDING"Pending`

      - `"SUCCESS"Success`

    - `required string UserID`

      The ID of the user

    - `DateTimeOffset? CreatedAt`

      Creation datetime

    - `DateTimeOffset EffectiveAt`

    - `string? ErrorMessage`

      Error message for the latest job attempt, if any.

    - `string? JobRecordID`

      The job record ID associated with this status, if any.

    - `Mode Mode`

      The classification mode to use

      - `"FAST"Fast`

      - `"MULTIMODAL"Multimodal`

    - `ClassifyParsingConfiguration ParsingConfiguration`

      The configuration for the parsing job

      - `ParsingLanguages Lang`

        The language to parse the files in

        - `"abq"Abq`

        - `"ady"Ady`

        - `"af"Af`

        - `"ang"Ang`

        - `"ar"Ar`

        - `"as"As`

        - `"ava"Ava`

        - `"az"Az`

        - `"be"Be`

        - `"bg"Bg`

        - `"bgc"Bgc`

        - `"bh"Bh`

        - `"bho"Bho`

        - `"bn"Bn`

        - `"bs"Bs`

        - `"ch_sim"ChSim`

        - `"ch_tra"ChTra`

        - `"che"Che`

        - `"cs"Cs`

        - `"cy"Cy`

        - `"da"Da`

        - `"dar"Dar`

        - `"de"De`

        - `"en"En`

        - `"es"Es`

        - `"et"Et`

        - `"fa"Fa`

        - `"fr"Fr`

        - `"ga"Ga`

        - `"gom"Gom`

        - `"hi"Hi`

        - `"hr"Hr`

        - `"hu"Hu`

        - `"id"ID`

        - `"inh"Inh`

        - `"is"Is`

        - `"it"It`

        - `"ja"Ja`

        - `"kbd"Kbd`

        - `"kn"Kn`

        - `"ko"Ko`

        - `"ku"Ku`

        - `"la"La`

        - `"lbe"Lbe`

        - `"lez"Lez`

        - `"lt"Lt`

        - `"lv"Lv`

        - `"mah"Mah`

        - `"mai"Mai`

        - `"mi"Mi`

        - `"mn"Mn`

        - `"mni"Mni`

        - `"mr"Mr`

        - `"ms"Ms`

        - `"mt"Mt`

        - `"ne"Ne`

        - `"new"New`

        - `"nl"Nl`

        - `"no"No`

        - `"oc"Oc`

        - `"pi"Pi`

        - `"pl"Pl`

        - `"pt"Pt`

        - `"ro"Ro`

        - `"rs_cyrillic"RsCyrillic`

        - `"rs_latin"RsLatin`

        - `"ru"Ru`

        - `"sa"Sa`

        - `"sck"Sck`

        - `"sk"Sk`

        - `"sl"Sl`

        - `"sq"Sq`

        - `"sv"Sv`

        - `"sw"Sw`

        - `"ta"Ta`

        - `"tab"Tab`

        - `"te"Te`

        - `"th"Th`

        - `"tjk"Tjk`

        - `"tl"Tl`

        - `"tr"Tr`

        - `"ug"Ug`

        - `"uk"Uk`

        - `"ur"Ur`

        - `"uz"Uz`

        - `"vi"Vi`

      - `Long? MaxPages`

        The maximum number of pages to parse

      - `IReadOnlyList<Long>? TargetPages`

        The pages to target for parsing (0-indexed, so first page is at 0)

    - `DateTimeOffset? UpdatedAt`

      Update datetime

  - `string? NextPageToken`

    A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

  - `Long? TotalSize`

    The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.

### Example

```csharp
JobListParams parameters = new();

var page = await client.Classifier.Jobs.List(parameters);
await foreach (var item in page.Paginate())
{
    Console.WriteLine(item);
}
```

#### Response

```json
{
  "items": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "rules": [
        {
          "description": "contains invoice number, line items, and total amount",
          "type": "invoice"
        }
      ],
      "status": "CANCELLED",
      "user_id": "user_id",
      "created_at": "2019-12-27T18:11:19.117Z",
      "effective_at": "2019-12-27T18:11:19.117Z",
      "error_message": "error_message",
      "job_record_id": "job_record_id",
      "mode": "FAST",
      "parsing_configuration": {
        "lang": "abq",
        "max_pages": 0,
        "target_pages": [
          0
        ]
      },
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
```
