How to get Achieve item Python API

query =fr’‘‘query {{
boards (ids: 123,state:archived) {{
items_page {{
items {{
id
name}}
}}
}}
}}’’’
data = {‘query’: query}
r = requests.post(url=apiUrl, json=data, headers=headers)
r.json()

State:archieved doesn’t seem to work and does not return achieved items

Query to achieve item
query =fr’‘‘mutation {{
archive_item (item_id: 12) {{
id
}}
}}’’’

data = {‘query’: query}
r = requests.post(url=apiUrl, json=data, headers=headers)
r.json()

This works fine

Now I need to get list of achieve item how can i see that and unarchive them

the board is active only some items I have achieved
@Matias.Monday

Hello there @Abcd,

The only way for you to see the data of an archived item is if you had the ID before hand. You would need to pass that ID as a parameter.

If you don’t have that, there is no way to retrieve the data of the archived items.

Let me know if you have any other questions!

Cheers,
Matias