Docs
list_imports
List the files imported into this workspace (import_content), newest first: file name, format, when, who, and how many items were created or skipped and how many draft posts were added. Use it to check whether a file was already imported before importing it again (the same file with the same options imports once), and the options each import used (`defaultChannelAccountId`, `includePublished`).
List the files imported into this workspace (import_content), newest first: file name, format, when, who, and how many items were created or skipped and how many draft posts were added. Use it to check whether a file was already imported before importing it again (the same file with the same options imports once), and the options each import used (defaultChannelAccountId, includePublished).
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"limit": {
"default": 20,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"imports": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"fileName": {
"type": [
"string",
"null"
]
},
"format": {
"enum": [
"csv",
"buffer",
"buffer_insights",
"typefully",
"hootsuite",
"postiz"
],
"type": "string"
},
"formatLabel": {
"type": "string"
},
"rowCount": {
"type": "integer"
},
"createdCount": {
"type": "integer"
},
"skippedCount": {
"type": "integer"
},
"postCount": {
"type": "integer"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"createdByAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"createdByAgentClientId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"defaultChannelAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"includePublished": {
"type": "boolean"
}
},
"required": [
"id",
"fileName",
"format",
"formatLabel",
"rowCount",
"createdCount",
"skippedCount",
"postCount",
"createdAt",
"createdByAccountId",
"createdByAgentClientId",
"defaultChannelAccountId",
"includePublished"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"imports"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List imports"
}