Skip to main content
GET
/
v1
/
app
/
user
/
{userId}
/
latest-artifacts
Get latest updated artifacts for a user
curl --request GET \
  --url https://{base_url}/v1/app/user/{userId}/latest-artifacts
[
  {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "type": "InlineText",
    "source": "User",
    "state": "Initializing",
    "ingest_status": "NotApplicable",
    "has_content": true,
    "props": {
      "entity": {
        "id": "<string>",
        "name": "<string>",
        "default_member_role": "Viewer",
        "default_role_enabled": true,
        "visibility": "Public",
        "goal": "<string>",
        "deadline": "<string>",
        "member_count": 123,
        "members": [
          {
            "id": "<string>",
            "role": "Viewer",
            "user": {
              "id": "<string>",
              "org_id": "<string>",
              "account_id": "<string>",
              "name": "<string>",
              "email": "<string>",
              "state": "Active",
              "roles": [
                "AppGuest"
              ],
              "created_at": "<string>",
              "profile_picture": "<string>",
              "job_position_name": "<string>",
              "job_position_description": "<string>"
            },
            "is_project_member": true
          }
        ],
        "project_context": "<string>",
        "answer_context": "<string>",
        "is_pinned": true
      }
    },
    "keep_file_after_ingestion": true,
    "created_at": "<string>",
    "updated_at": "<string>",
    "ws_auto_select": true,
    "parent_id": "<string>",
    "child_count": 123,
    "project": {
      "id": "<string>",
      "name": "<string>",
      "default_member_role": "Viewer",
      "default_role_enabled": true,
      "visibility": "Public",
      "goal": "<string>",
      "deadline": "<string>",
      "member_count": 123,
      "members": [
        {
          "id": "<string>",
          "role": "Viewer",
          "user": {
            "id": "<string>",
            "org_id": "<string>",
            "account_id": "<string>",
            "name": "<string>",
            "email": "<string>",
            "state": "Active",
            "roles": [
              "AppGuest"
            ],
            "created_at": "<string>",
            "profile_picture": "<string>",
            "job_position_name": "<string>",
            "job_position_description": "<string>"
          },
          "is_project_member": true
        }
      ],
      "project_context": "<string>",
      "answer_context": "<string>",
      "is_pinned": true
    },
    "description": "<string>",
    "error": "Unknown",
    "ingest_warnings": [
      "Unknown"
    ],
    "ingest_progress": 123,
    "content": "<string>",
    "raw_content": "<string>",
    "integration_id": "<string>",
    "external_url": "<string>",
    "file_uri": "<string>",
    "artifact_references": "<array>",
    "created_by": {
      "id": "<string>",
      "org_id": "<string>",
      "account_id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "state": "Active",
      "roles": [
        "AppGuest"
      ],
      "created_at": "<string>",
      "profile_picture": "<string>",
      "job_position_name": "<string>",
      "job_position_description": "<string>"
    }
  }
]

Path Parameters

userId
string
required

The ID of the user to get artifacts for

Query Parameters

latest
number

Number of latest artifacts to return. Default is 3

Response

200 - application/json

Returns a list of the latest updated artifacts for the user

id
string
required
project_id
string
required
name
string
required
type
enum<string>
required
Available options:
InlineText,
Document,
Folder,
Summary,
Composition,
SmartDoc,
Link,
BulkQA,
ReadAndExtract,
SqlDatabase,
McpServer
source
enum<string>
required
Available options:
User,
SharePoint,
Confluence,
Claromentis,
FileSystem,
Mock
state
enum<string>
required
Available options:
Initializing,
Processing,
Draft,
Deleted,
Published,
Unavailable,
Error
ingest_status
enum<string>
required
Available options:
NotApplicable,
NotStarted,
Processing,
Parsing,
Storing,
Done,
Error
has_content
boolean
required
props
object
required
keep_file_after_ingestion
boolean
required
created_at
string
required
updated_at
string
required
ws_auto_select
boolean
required
parent_id
string
child_count
number
project
object
description
string
error
enum<string>
Available options:
Unknown,
InternalError,
MismatchedType,
InvalidExtension,
ParsingFailure,
MaxNodes,
Malformed,
Encrypted,
NoValidFile,
NoValidNodes
ingest_warnings
enum<string>[]
Available options:
Unknown,
BigSize,
FallbackToPdfToText,
UsingVLMForExtraction,
ExceedsRecommendedPages,
SpecialConfig,
NoContent,
UnprocessableContent,
DescendantHasError
ingest_progress
number
content
string
raw_content
string
integration_id
string
external_url
string
file_uri
string
artifact_references
array
created_by
object