A&C
Apify & Crawlee
W
Apify & Crawlee
•
3y ago
worthy-rose
Run Actor API with User Provided ID
I
'd like to use my own ID when run an actor
, e
.g
.
, something like
POST
https://api.apify.com/v2/acts/skiplagged~bws-prod/runs?token=123456&id=xtwwwsdfd
POST
https://api.apify.com/v2/acts/skiplagged~bws-prod/runs?token=123456&id=xtwwwsdfd
Is that possible
?
Apify & Crawlee
Join
This is the official developer community of Apify and Crawlee.
13,249
Members
View on Discord
Was this page helpful?
Yes
No
L
Lukas Krivka
•
1/4/23, 12:43 PM
What is this ID for
?
W
worthy-rose
OP
•
1/4/23, 7:31 PM
the run id
. it will be used as the ID for the current run
W
worthy-rose
OP
•
1/4/23, 7:31 PM
basically
, we want to use a same id
(universal id
) to chain all related object
.
W
worthy-rose
OP
•
1/4/23, 7:31 PM
it will be nice if we can use the same id for an actor run
.
L
Lukas Krivka
•
1/5/23, 9:03 PM
I still don
't follow
. There is a run ID for each run apify but it seems you mean some of your internal ID
. Anyway
, see the usually flow in this article
:
https://docs.apify.com/tutorials/run-actor-and-retrieve-data-via-api
Apify
Run actor and retrieve data via API · Apify Documentation
Learn how to run an actor
/task via the Apify API
, wait for the job to finish
, and retrieve its output data
. Your key to integrating actors with your projects
.