> ## Documentation Index
> Fetch the complete documentation index at: https://developers.marko.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Lister les résultats d'un import

> Filtre les résultats par `status` ou `item_kind` pour diagnostiquer et reprendre un lot.



## OpenAPI

````yaml https://partner-api.marko.fr/v1/openapi.json get /import-jobs/{job_id}/items
openapi: 3.1.0
info:
  title: MARKO External Partner API
  version: v1
  description: >-
    Stable external API contract for the live environment.


    Authentication flow for partner integrations:

    1. Generate an API key from the MARKO entity admin API section.

    2. Keep the raw API secret server-side and use it only to sign `POST
    /v1/auth/token`.

    3. Build the canonical message
    `MARKO-EXTERNAL-API-TOKEN-V1\n{key_id}\n{timestamp}\n{nonce}`.

    4. Sign that message with HMAC-SHA256 and send the hex signature with
    `key_id`, `timestamp` and `nonce`.

    5. Use the returned short-lived bearer on business endpoints as
    `Authorization: Bearer <access_token>`.

    The raw API secret must never be sent on business endpoints.


    This public contract intentionally excludes beta endpoints.
servers:
  - url: https://partner-api.marko.fr/v1
security:
  - BearerAuth: []
externalDocs:
  description: Download the matching Postman collection.
  url: /v1/postman.json
paths:
  /import-jobs/{job_id}/items:
    get:
      tags:
        - import-jobs
      summary: Lister les résultats d'un import
      description: >-
        Filtre les résultats par `status` ou `item_kind` pour diagnostiquer et
        reprendre un lot.
      operationId: import-jobs_items
      parameters:
        - in: path
          name: job_id
          required: true
          schema:
            type: string
            format: uuid
          example: 88888888-8888-8888-8888-888888888888
        - in: query
          name: status
          required: false
          schema:
            type: string
          example: failed
        - in: query
          name: limit
          required: false
          schema:
            type: string
          example: 100
        - in: query
          name: offset
          required: false
          schema:
            type: string
          example: 0
        - in: header
          name: X-Request-ID
          required: false
          description: >-
            Partner-generated correlation identifier echoed in logs and error
            payloads.
          schema:
            type: string
          example: marko-import-jobs-items
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                properties:
                  items:
                    items:
                      properties:
                        id:
                          format: uuid
                          title: Id
                          type: string
                        item_kind:
                          title: Item Kind
                          type: string
                        position:
                          title: Position
                          type: integer
                        external_id:
                          title: External Id
                          type: string
                        parent_external_id:
                          anyOf:
                            - type: string
                            - type: 'null'
                          default: null
                          title: Parent External Id
                        status:
                          title: Status
                          type: string
                        target_id:
                          anyOf:
                            - type: string
                              format: uuid
                            - type: 'null'
                          default: null
                          title: Target Id
                        attempts:
                          title: Attempts
                          type: integer
                        result:
                          anyOf:
                            - additionalProperties: true
                              type: object
                            - type: 'null'
                          default: null
                          title: Result
                        error_code:
                          anyOf:
                            - type: string
                            - type: 'null'
                          default: null
                          title: Error Code
                        error_message:
                          anyOf:
                            - type: string
                            - type: 'null'
                          default: null
                          title: Error Message
                        conflict_payload:
                          anyOf:
                            - additionalProperties: true
                              type: object
                            - type: 'null'
                          default: null
                          title: Conflict Payload
                        resolved_at:
                          anyOf:
                            - format: date-time
                              type: string
                            - type: 'null'
                          default: null
                          title: Resolved At
                      required:
                        - id
                        - item_kind
                        - position
                        - external_id
                        - status
                        - attempts
                      title: ExternalImportItemResponse
                      type: object
                    title: Items
                    type: array
                  total:
                    title: Total
                    type: integer
                  limit:
                    title: Limit
                    type: integer
                  offset:
                    title: Offset
                    type: integer
                required:
                  - items
                  - total
                  - limit
                  - offset
                title: ExternalImportItemsResponse
                type: object
              example:
                items:
                  - id: aaaaaaaa-8888-8888-8888-888888888888
                    item_kind: operation
                    position: 42
                    external_id: CF-OP-042
                    status: failed
                    attempts: 1
                    error_code: marko_http_422
                    error_message: Imported item failed MARKO validation
                total: 1
                limit: 100
                offset: 0
        '401':
          description: Authentication required
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: about:blank
                title: Unauthorized
                status: 401
                detail: A valid bearer token is required.
                request_id: req_example_partner_call
        '403':
          description: Scope, route or IP restriction
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: about:blank
                title: Forbidden
                status: 403
                detail: The API key does not allow this operation.
                request_id: req_example_partner_call
        '422':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: about:blank
                title: Unprocessable Content
                status: 422
                detail: The request payload or parameters are invalid.
                request_id: req_example_partner_call
        '429':
          description: Rate limit or progressive ban
          headers:
            Retry-After:
              description: Cooldown in seconds before retrying the request.
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: about:blank
                title: Too Many Requests
                status: 429
                detail: The request rate limit was exceeded.
                request_id: req_example_partner_call
        '500':
          description: Unexpected server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: about:blank
                title: Internal Server Error
                status: 500
                detail: An unexpected server error occurred.
                request_id: req_example_partner_call
      deprecated: false
      security:
        - BearerAuth: []
components:
  schemas:
    ProblemDetails:
      type: object
      required:
        - title
        - status
        - detail
      properties:
        type:
          type: string
          default: about:blank
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
        scope:
          type: string
        route_id:
          type: string
        reason_code:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: MARKO short-lived bearer
      description: >-
        Use the `access_token` returned by `POST /v1/auth/token`. Do not send
        the raw API secret on business endpoints.

````