GET
/
v1
/
app
/
user
/
{userId}
/
latest-artifacts
[
  {
    "id": "<string>",
    "parent_id": "<string>",
    "child_count": 123,
    "project_id": "<string>",
    "project": {
      "id": "<string>",
      "name": "<string>",
      "goal": "<string>",
      "default_member_role": "Viewer",
      "default_role_enabled": true,
      "deadline": "<string>",
      "visibility": "Public",
      "member_count": 123,
      "members": [
        {
          "id": "<string>",
          "role": "Viewer",
          "user": {
            "id": "<any>",
            "org_id": "<any>",
            "account_id": "<any>",
            "profile_picture": "<any>",
            "name": "<any>",
            "email": "<any>",
            "job_position_name": "<any>",
            "job_position_description": "<any>",
            "state": "<any>",
            "roles": "<any>",
            "created_at": "<any>"
          },
          "is_project_member": true
        }
      ],
      "project_context": "<string>",
      "answer_context": "<string>",
      "is_pinned": true
    },
    "name": "<string>",
    "description": "<string>",
    "type": "InlineText",
    "source": "User",
    "state": "Initializing",
    "error": "Unknown",
    "ingest_status": "NotApplicable",
    "ingest_warnings": [
      "Unknown"
    ],
    "ingest_progress": 123,
    "has_content": true,
    "content": "<string>",
    "raw_content": "<string>",
    "integration_id": "<string>",
    "external_url": "<string>",
    "config": {
      "entity": {
        "id": "<string>",
        "name": "<string>",
        "goal": "<string>",
        "default_member_role": "Viewer",
        "default_role_enabled": true,
        "deadline": "<string>",
        "visibility": "Public",
        "member_count": 123,
        "members": [
          {
            "id": "<string>",
            "role": "Viewer",
            "user": {
              "id": "<any>",
              "org_id": "<any>",
              "account_id": "<any>",
              "profile_picture": "<any>",
              "name": "<any>",
              "email": "<any>",
              "job_position_name": "<any>",
              "job_position_description": "<any>",
              "state": "<any>",
              "roles": "<any>",
              "created_at": "<any>"
            },
            "is_project_member": true
          }
        ],
        "project_context": "<string>",
        "answer_context": "<string>",
        "is_pinned": true
      }
    },
    "file_uri": "<string>",
    "artifact_references": [
      {}
    ],
    "keep_file_after_ingestion": true,
    "created_by": {
      "id": "<any>",
      "org_id": "<any>",
      "account_id": "<any>",
      "profile_picture": "<any>",
      "name": "<any>",
      "email": "<any>",
      "job_position_name": "<any>",
      "job_position_description": "<any>",
      "state": "<any>",
      "roles": "<any>",
      "created_at": "<any>"
    },
    "created_at": "<string>",
    "updated_at": "<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
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
config
object
required
keep_file_after_ingestion
boolean
required
created_at
string
required
updated_at
string
required
parent_id
string
child_count
number
project
object
description
string
error
enum<string>
Available options:
Unknown,
InternalError,
MismatchedType,
InvalidExtension,
MaxNodes,
Malformed,
Encrypted,
NoValidFile,
NoValidNodes
ingest_warnings
enum<string>[]
ingest_progress
number
content
string
raw_content
string
integration_id
string
external_url
string
file_uri
string
artifact_references
object[]
created_by
object