File

createFileAttributeSuggestionJob

Changed on

Start an auto-fill job that reads the file's extracted text and suggests values for the related entity's attributes. Requires entity:view on the file and on the related entity. Returns 404 with error_code: file_not_extracted while the file has not been extracted yet; callers retry until the extraction is ready.

post/v1/files/{id}/attribute-suggestion-jobs

Request

  • Base URL
    https://file.sls.epilot.io
  • URL
    https://file.sls.epilot.io/v1/files/{id}/attribute-suggestion-jobs
  • Auth
    • HTTP bearer
    • or API key in cookie token

Path parameters

string required

Empty string (used when file ID not yet assigned)

OR
string uuid required

Valid UUID v4

The UUID of the file entity

Request body

entity_slugstring required

Schema slug of the entity to suggest values for

entity_idstring uuid required

The entity to suggest values for

Example request

{
  "entity_slug": "opportunity"
}

Response

Suggestion job accepted

jobIdstring required

Attribute suggestion job ID (ULID)

createdAtnumber required

Epoch milliseconds

updatedAtnumber required

Epoch milliseconds

Changes