Legnext icon

Legnext

Interact with the Legnext API

Job → Get

AI-generated

Summary

Get a job by its identifier

Inputs

  • jobId (required) — The ID of the job to fetch (e.g., "330fcc57-201b-4b16-aa4e-09402ad07c6d")
  • requestOptions — Collection of request configuration options such as batching, SSL verification, proxy, and timeout

Output shape

a single job object

The response contains the fields defined by the legnext Job resource; may include standard attributes like id, status, createdAt, etc.

Examples

Example 1: Retrieve a specific job

Set Job ID to a valid UUID; leave Request Options empty

Example 2: Fetch job with batching enabled

Enable batching with batchSize 50 and batchInterval 1000 in Request Options

Example 3: Use custom proxy and timeout

Configure Proxy and Timeout in Request Options while providing a Job ID

Discussion