> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/api-reference/flow-logs-and-queue/job-execution-logs.md).

# Job Execution Logs

## List Job Execution Logs

> Retrieves a paginated list of job execution logs. Can be filtered by \`company\_id\`, \`status\`, \`executable\_kind\`, date range, and \`name\`.

```json
{"openapi":"3.0.0","info":{"title":"Patchworks Core API","version":"1.0.0"},"tags":[{"name":"Job Execution Logs"}],"servers":[{"url":"https://core.wearepatchworks.com"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key passed in the Authorization header. Format: `<api-key>`"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth 2 Bearer token obtained from POST /fabric/api/login"}},"schemas":{"JobExecutionLogsListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JobExecutionLog"}},"meta":{"$ref":"#/components/schemas/PaginationMeta"},"links":{"$ref":"#/components/schemas/PaginationLinks"}}},"JobExecutionLog":{"type":"object","properties":{"id":{"type":"string"},"company_id":{"type":"integer"},"executable_kind":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["Draft","Inactive","Deployed"]},"connection":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"},"duration_ms":{"type":"string"},"exception_class":{"type":"string"},"exception_message":{"type":"string"},"stack_trace":{"type":"string"},"context":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"PaginationMeta":{"type":"object","properties":{"current_page":{"type":"integer"},"from":{"type":"integer","nullable":true},"last_page":{"type":"integer"},"path":{"type":"string"},"per_page":{"type":"integer"},"to":{"type":"integer","nullable":true},"total":{"type":"integer"}}},"PaginationLinks":{"type":"object","properties":{"first":{"type":"string","format":"uri"},"last":{"type":"string","format":"uri"},"prev":{"type":"string","format":"uri","nullable":true},"next":{"type":"string","format":"uri","nullable":true}}},"MessageResponse":{"type":"object","properties":{"message":{"type":"string"}}}}},"paths":{"/api/v1/patchworks/job-execution-logs":{"get":{"summary":"List Job Execution Logs","description":"Retrieves a paginated list of job execution logs. Can be filtered by `company_id`, `status`, `executable_kind`, date range, and `name`.","tags":["Job Execution Logs"],"parameters":[{"name":"filter[company_id]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by company_id."},{"name":"filter[status]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by status."},{"name":"filter[executable_kind]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by executable_kind."},{"name":"filter[created_before]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by created_before."},{"name":"filter[created_after]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by created_after."},{"name":"filter[name]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by name."},{"name":"filter[like]","in":"query","required":false,"schema":{"type":"string"},"description":"Filter results by like."},{"name":"sort","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["started_at","-started_at","finished_at","-finished_at","duration_ms","-duration_ms","status","-status","name","-name","company_id","-company_id"]}},"description":"Sort field. Prefix with - for descending. Available: started_at, finished_at, duration_ms, status, name, company_id","style":"form","explode":false},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"Page number for pagination."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Number of results per page."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobExecutionLogsListResponse"}}}},"401":{"description":"Unauthenticated"},"403":{"description":"Unauthorized"},"429":{"description":"Too Many Requests. The rate limit for this user has been reached.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"operationId":"patchworksJobExecutionLogsIndex"}}}}
```
