> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roe-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# job_result | resolve

> Get the result of an Agent Job.

## Inputs

`job_id` (String): The ID of the
[Agent Job](/agents/introduction#what-is-an-agent-job) to get the result of.
This is **usually** the output of the [run\_agent](/database/functions/run-agent)
function.

## Output

Varies depending on the Agent. The output of an Agent depends on the underlying
[Enging](/agents/engines/introduction) powering the Agent.

## Example Usage

```sql theme={null}
SELECT job_status('123e4567-e89b-12d3-a456-426614174000');
```

```sql theme={null}
SELECT job_status(run_agent_result_column) FROM data_table;
```

```sql theme={null}
SELECT resolve('123e4567-e89b-12d3-a456-426614174000');
```

```sql theme={null}
SELECT resolve(run_agent_result_column) FROM data_table;
```
