---
title: "Create a new Job Log entry"
method: POST
path: "/integration/job-logs"
tags: ["Integration: Job Logs"]
---

# Create a new Job Log entry

`POST /integration/job-logs`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/integration/job-logs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/integration/job-logs/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `data` object, required
    - `type` string: Resource Type
    - `attributes` object: Attributes
      - `job` string: Job
      - `status` string: Status
      - `description` string: Description

## Response `201`

created

- JobLogResource: JobLogResource
  - `type` string
  - `id` string
  - `attributes` JobLogAttributes: JobLogAttributes
    - `job` string
    - `status` 'running' | 'success' | 'failed'
    - `description` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
