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

# Inspect the published Worker

> Requires slate management permission. Returns the selected published Worker's native metadata, including its trusted source commit tag when present. This metadata does not identify the revision that answered an individual HTTP request.



## OpenAPI

````yaml https://platform.usecontextlayer.com/api/openapi.json get /slates/{target}/cloudflare/accounts/{account}/workers/dispatch/namespaces/{namespace}/scripts/{script}
openapi: 3.1.0
info:
  title: ContextLayer Platform
  version: 0.1.0
servers:
  - url: https://platform.usecontextlayer.com/api
security: []
tags:
  - name: Slates
  - name: Slate routing
  - name: Slate resources
  - name: Accounts
  - name: Shared secrets
  - name: Agents
  - name: Agent jobs
paths:
  /slates/{target}/cloudflare/accounts/{account}/workers/dispatch/namespaces/{namespace}/scripts/{script}:
    get:
      tags:
        - Slate inspection
      summary: Inspect the published Worker
      description: >-
        Requires slate management permission. Returns the selected published
        Worker's native metadata, including its trusted source commit tag when
        present. This metadata does not identify the revision that answered an
        individual HTTP request.
      operationId: getSlateWorker
      parameters:
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: string
          required: true
          name: target
          in: path
        - schema:
            type: string
          required: true
          name: account
          in: path
        - schema:
            type: string
          required: true
          name: namespace
          in: path
        - schema:
            type: string
          required: true
          name: script
          in: path
      responses:
        '200':
          description: Native inspection result
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid inspection parameters
        '401':
          description: A ContextLayer login is required
        '403':
          description: Slate management is forbidden
        '404':
          description: Slate or inspection resource not found
      security:
        - bearerAuth: []
        - webCookie: []
        - localWebCookie: []
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    webCookie:
      in: cookie
      name: __Secure-better-auth.session_token
      type: apiKey
    localWebCookie:
      in: cookie
      name: better-auth.session_token
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.