---
updatedAt: 2026-09-03T15:19:12.000Z
agentTools:
  projectIndex: https://docs.pennsieve.io/llms.txt
---

# retrieve the publishing status of a dataset

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Pennsieve Swagger",
    "version": "1.0.0",
    "description": "Swagger documentation for the Pennsieve api",
    "termsOfService": "https://docs.pennsieve.io/docs/pennsieve-terms-of-service",
    "contact": {
      "name": "Pennsieve Team",
      "url": "https://docs.pennsieve.io",
      "email": "support@pennsieve.net"
    },
    "license": {
      "name": "All rights reserved",
      "url": "https://docs.pennsieve.io"
    }
  },
  "paths": {
    "/datasets/{id}/published": {
      "get": {
        "operationId": "getPublishStatus",
        "summary": "retrieve the publishing status of a dataset",
        "tags": [
          "DataSets"
        ],
        "deprecated": false,
        "parameters": [
          {
            "name": "id",
            "description": "dataset id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetPublishStatus"
                }
              }
            }
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//api.pennsieve.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "description": "",
        "name": "api_key",
        "in": "query"
      }
    },
    "schemas": {
      "DatasetPublishStatus": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "sourceOrganizationId": {
            "type": "integer",
            "format": "int32"
          },
          "sourceDatasetId": {
            "type": "integer",
            "format": "int32"
          },
          "publishedDatasetId": {
            "type": "integer",
            "format": "int32"
          },
          "publishedVersionCount": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/PublishStatus"
          },
          "lastPublishedDate": {
            "type": "string",
            "format": "date-time"
          },
          "sponsorship": {
            "$ref": "#/components/schemas/SponsorshipRequest"
          },
          "workflowId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "name",
          "sourceOrganizationId",
          "sourceDatasetId",
          "publishedVersionCount",
          "status",
          "workflowId"
        ]
      },
      "SponsorshipRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "markup": {
            "type": "string"
          }
        }
      },
      "PublishStatus": {
        "type": "object",
        "properties": {}
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```