get_ingestion_job¶
Operation¶
get_ingestion_job
¶
get_ingestion_job(request: GetIngestionJobInput | GetIngestionJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetIngestionJobInputDict]) -> GetIngestionJobOutput
Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetIngestionJobInput | GetIngestionJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[GetIngestionJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetIngestionJobOutput
|
An instance of |
get_ingestion_job
async
¶
get_ingestion_job(request: GetIngestionJobInput | GetIngestionJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetIngestionJobInputDict]) -> GetIngestionJobOutput
Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetIngestionJobInput | GetIngestionJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[GetIngestionJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetIngestionJobOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
GetIngestionJobInputDict
¶
Bases: TypedDict
Dictionary form of GetIngestionJobInput.
GetIngestionJobInput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetIngestionJobInput structure.
Attributes¶
data_source_id
class-attribute
instance-attribute
¶
data_source_id: str | None = ...
The unique identifier of the data source for the data ingestion job you want to get information on.
Output¶
GetIngestionJobOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetIngestionJobOutput structure.
Attributes¶
ingestion_job
instance-attribute
¶
ingestion_job: IngestionJob
Contains details about the data ingestion job.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.