Request Field for Logging User-Specified Job-Level metadata #261

Open
opened 2026-02-16 00:17:18 -05:00 by yindo · 1 comment
Owner

Originally created by @adreichert on GitHub (Sep 9, 2024).

Summary

I'd like to request that both the REST API and the Python package offer a field that permits users to upload small, custom strings. This field would NOT be used for parsing by LlamaParse. The user could populate it with freeform strings, small JSON documents, or anything else they wanted. Later, they could read this from the job details endpoint. In the past, I've used such fields for the following:

  • Debugging
  • Tagging uploaded jobs
  • Storing identifiers useful for joining this job to other tables or data sources

Example

% curl -L -X POST 'https://api.cloud.llamaindex.ai/api/v1/parsing/upload' \      
[...]
-F 'user_metadata="DEBUG"'
[...]
 curl -L -X GET 'https://api.cloud.llamaindex.ai/api/v1/parsing/job/<ID>/details' \ 
[...]
user_metadata="DEBUG"
Originally created by @adreichert on GitHub (Sep 9, 2024). # Summary I'd like to request that both the REST API and the Python package offer a field that permits users to upload small, custom strings. This field would NOT be used for parsing by LlamaParse. The user could populate it with freeform strings, small JSON documents, or anything else they wanted. Later, they could read this from the job details endpoint. In the past, I've used such fields for the following: * Debugging * Tagging uploaded jobs * Storing identifiers useful for joining this job to other tables or data sources # Example ``` % curl -L -X POST 'https://api.cloud.llamaindex.ai/api/v1/parsing/upload' \ [...] -F 'user_metadata="DEBUG"' [...] ``` ``` curl -L -X GET 'https://api.cloud.llamaindex.ai/api/v1/parsing/job/<ID>/details' \ [...] user_metadata="DEBUG" ```
yindo added the enhancement label 2026-02-16 00:17:18 -05:00
Author
Owner

@hexapode commented on GitHub (Sep 9, 2024):

Great Feedback. We will add it to a future release (most likely in the next 2-3 weeks)

@hexapode commented on GitHub (Sep 9, 2024): Great Feedback. We will add it to a future release (most likely in the next 2-3 weeks)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#261